VSTO e06 - How to create Excel Add-in using VSTO / VB.NET

Поділитися
Вставка
  • Опубліковано 6 сер 2024
  • In this dedicated simplified series on VSTO, you'll learn how to build Professional Solutions for Office Applications. Be sure to subscribe, Like, and Comment. 🙏Thanks for watching.
    For more resources check: bit.ly/2X2RuE6
    You can now support by buying any of the Projects or Source Code.
    📥Downloads: pamaitech.com/downloads/
    👍 Support: paypal.me/pamaitech
    ✉️ Contact: contact@pamaitech.com
    📌What to watch next:
    Playlist: ua-cam.com/users/vbaa2zplaylists
    Videos: ua-cam.com/users/vbaa2zvideos
    #VbaA2z
  • Наука та технологія

КОМЕНТАРІ • 74

  • @holieh5301
    @holieh5301 4 роки тому +1

    Thanks for making more VSTO videos. Have been waiting for it. Thanks a lot. Excellent tutorial

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      you're welcome. Glad you like them!

  • @paulhughes7035
    @paulhughes7035 3 роки тому +1

    Very nice work... thanks for sharing your wisdom!

    • @VBAA2Z
      @VBAA2Z  3 роки тому

      Glad you enjoyed it! thanks for watching.

  • @scotolivera8207
    @scotolivera8207 4 роки тому +2

    Thank you sir , This VSTO Tutorial is unique , hope you keep adding to it more and more , very helpful. Thanks again

    • @VBAA2Z
      @VBAA2Z  4 роки тому +1

      You're welcome. Glad you like it!

    • @scotolivera8207
      @scotolivera8207 3 роки тому

      VBA A2Z still waiting for a new episode sir

  • @wennychez5606
    @wennychez5606 4 роки тому +1

    Love your work bro! Keep going

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      Appreciate it!

  • @roland9923
    @roland9923 4 роки тому +1

    Thanks sir. Your tutorials are really helpful.

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      Glad you like them!

  • @sunil5149
    @sunil5149 4 роки тому

    Hello Pamai, your videos are amazing. keep it going.

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      Thank you! Will do!

  • @nori7005
    @nori7005 4 роки тому

    Happy to have found your channel today. Some cool contents you got there. Will check back for more later. Keep going.

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      thanks and welcome aboard!

  • @essibaba1
    @essibaba1 2 місяці тому +1

    Nice work buddy

    • @VBAA2Z
      @VBAA2Z  2 місяці тому

      Thank you! Cheers!

  • @zurak71
    @zurak71 2 роки тому

    Thanks for sharing this. Currently looking into VSTO AddIns with regards to malware detection, as they bear the potential to be the successor to macro malware in MS Office.

    • @VBAA2Z
      @VBAA2Z  2 роки тому

      Thanks for visit. This thread might help social.msdn.microsoft.com/Forums/azure/en-US/3329c735-7dc6-4e8b-a200-395fd9537fa0/vsto-addin-clickonce-installation-problems?forum=winformssetup

  • @DrPPrabu
    @DrPPrabu 4 роки тому +1

    Thank u so much sir... I am beginner to vsto but find your tutorial very informative ... Please add more and more like listbox and listview controls to your project...

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      You're welcome and sure I'll be adding lots more videos.

    • @DrPPrabu
      @DrPPrabu 4 роки тому

      @@VBAA2Z Thank you sir

  • @linnick9235
    @linnick9235 4 роки тому +1

    Brilliant

  • @user-uv1uf8cr3b
    @user-uv1uf8cr3b Рік тому +1

    thank you sir

    • @VBAA2Z
      @VBAA2Z  Рік тому

      you're most welcome!

  • @bnancy3699
    @bnancy3699 4 роки тому +2

    Thank you so much.
    Can you please make a another Real-Life project video like you did for Workbook customization? It'd be great and helpful to beginners like me.

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      No probs and great suggestion! sure I'll show some examples in upcoming videos.

  • @kenstarr8612
    @kenstarr8612 4 роки тому +1

    Subscribed and following, please add more videos.

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      sure Ken! thanks

  • @excelforcivilengineers750
    @excelforcivilengineers750 4 роки тому +2

    Please create a video on how to create Excel UDF using visual basic in Visual Studio.

    • @excelforcivilengineers750
      @excelforcivilengineers750 4 роки тому

      I have searched on various channels and website but didn't get any thing related to what I have mentioned above. Even in microsoft documentation they didn't specified it clearly. I don't know why? Also, eveytime I tried to build something by following steps written on Microsoft website.. I got message that this feature is available for office 365 subscription only.. so kindly make a video on the topic which I have mentioned.. or just a link from where I can get the info.
      I have MS Office 2019 home and student edition.
      OS Windows 10..
      No office 365...

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      I'll surely add some videos. thanks for suggestion.

  • @dvof5198
    @dvof5198 3 роки тому +1

    Loving the vids :)
    What is the difference between creating an Excel AddIn the way you have described and using ExcelDNA?
    Also, can you hide/Un-hide elements on a ribbon depending on say user name?
    Thank you.

    • @VBAA2Z
      @VBAA2Z  3 роки тому

      Excel-DNA is an independent project to integrate .NET into Excel. With Excel-DNA you can make native (.xll) add-ins for Excel using C#, Visual Basic.NET or F#, providing high-performance user-defined functions (UDFs), custom ribbon interfaces and more. Your entire add-in can be packed into a single .xll file requiring no installation or registration. excel-dna.net/

    • @dvof5198
      @dvof5198 3 роки тому

      @@VBAA2Z Thank you Sir, appreciate the response.

  • @user-my5cu7oy5i
    @user-my5cu7oy5i 2 роки тому +1

    brilliant! I assume I can do the same in c#

    • @VBAA2Z
      @VBAA2Z  2 роки тому +1

      Yes you can!

  • @levelupexcelskill
    @levelupexcelskill 4 роки тому +1

    Tons of tanks....Could you please make video to extract dirty data from Notepad to excel.....it is humble request....please make a project like this....

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      email me some sample and provide more information, I'll take a look.

  • @kchewang8331
    @kchewang8331 4 роки тому +1

    👍👍

  • @jonathanbrotto7278
    @jonathanbrotto7278 2 роки тому +1

    Great videos but any on conditional formatting?

    • @VBAA2Z
      @VBAA2Z  2 роки тому

      Google relevant VBA codes and replicate them in VSTO

    • @jonathanbrotto7278
      @jonathanbrotto7278 2 роки тому

      @@VBAA2Z does not always translate the exact same way.

  • @scotolivera8207
    @scotolivera8207 2 роки тому

    hello sir, how can i create a keyboard shortcut with vsto add in like ctr+ enter ?

  •  3 роки тому +1

    Hello, thank you for sharing.
    1-I created Exceladdin 1.sln with Visual studio 2019 and I know how to add a tab to the excel program on my computer.
    2- I created Setup (two files named setup.exe and Setup.msi)
    3- I copied these files to another computer and installed them. All files are output to a folder. (ExcelAddIn1.vsto and many dll files)
    The problem is: the plugin is not available in excel. Can you share a document that tells me about setup from start to finish? Thank you so much.

    • @VBAA2Z
      @VBAA2Z  3 роки тому

      Please find all related links to VSTO here
      vbaa2z.blogspot.com/2020/05/vsto-e01-get-up-to-speed-with-vsto-vba.html

  • @jonathancollins9668
    @jonathancollins9668 3 роки тому +1

    after I am done creating my addin how to I add it to excel or do I have to run it in visual studio every time? I want to compile it and make it a permanent addon for my excel.

    • @VBAA2Z
      @VBAA2Z  3 роки тому

      Check the last episodes for deployment options from the below playlist link. All the best and do not forget to subscribe.
      ua-cam.com/play/PLo0aMPtFIFDqaRyd0KZ0DLXFD3rfhI4SU.html

  • @cdptj
    @cdptj 9 місяців тому +1

    Hi, I create CustomTaskPane same way as you in video, but if I press button to show it multiple times, it creates one another CustomTaskPane for each click. How can I prevent this or how can I create New CustomTaskPane after excel starts and on button click only change its visibility?

    • @VBAA2Z
      @VBAA2Z  9 місяців тому

      check CustomTaskPanes.RemoveAt method to remove and add it back or hide and show using Visible method

    • @cdptj
      @cdptj 9 місяців тому

      And what will be inside as index? Sorry I am totally noob, I just start learning VB, just because I see your videos.@@VBAA2Z

  • @riteshmathur9221
    @riteshmathur9221 5 місяців тому +1

    How to access VSTO COMAddIn function through VBA code ???

    • @VBAA2Z
      @VBAA2Z  5 місяців тому

      check this video ua-cam.com/video/z3cbAh7CzMo/v-deo.html

  • @TheJLMDT
    @TheJLMDT 2 роки тому

    When using VBA in an add-in, can you still use the UNDO button? Macros usually don't allow an undo

    • @VBAA2Z
      @VBAA2Z  2 роки тому

      You'll need to create custom Undo for action done by your program.
      ua-cam.com/video/KqWLfCtiTKc/v-deo.html

  • @synthywaves1884
    @synthywaves1884 3 роки тому +1

    Thanks for the nice video series.
    If you would please provide the VB code for copying from an "ACTIVE" cell in any given sheet in the workbook (the currently selected cell in the active sheet), into the TextBox in the Ribbon, that would be much appreciated. The Goal is to NOT to specify any specific sheet or cell to perform the copy operation - just copying from any randomly selected cell, from within any of the available sheets in the workbook.
    Also, if you can show how to copy from one textbox in the Ribbon, to anther textbox (also in the Ribbon) & copy from a Textbox in the Ribbon to a Cell in a sheet, that would be greatly appreciated.
    Thanks in advance.

    • @VBAA2Z
      @VBAA2Z  3 роки тому

      Hi Synthy, try below syntax. to read the Ribbon Control value watch RibbonX series on VSTO: ua-cam.com/play/PLo0aMPtFIFDqaRyd0KZ0DLXFD3rfhI4SU.html
      Dim selection As Excel.Range = Globals.ThisAddIn.Application.Selection
      Dim aCell As Excel.Range = Globals.ThisAddIn.Application.ActiveCell

  • @fatalmokrane
    @fatalmokrane 3 роки тому

    Hello, i'm having a very annoying issue with this exception : System.Runtime.InteropServices.COMException : 'Exception from HRESULT : 0x800A03EC'
    I get it randomly when i try to write on the current workbook and its driving me crazy.
    I explained my problem here : stackoverflow.com/questions/65996425/random-exception-for-my-excel-vsto-add-in-system-runtime-interopservices-comexce
    But no one answered me so far. Could you help me with that ? Thank you

  • @DangPhanTuanCuong
    @DangPhanTuanCuong 3 роки тому

    Dear Sir.
    i can make an addin for Excell follow your instruction.
    but i don't know how to bring this addin to another computer.
    could you advise for me this case.
    thank you inadvance.

    • @VBAA2Z
      @VBAA2Z  3 роки тому

      Check out deployment video from playlist
      ua-cam.com/play/PLo0aMPtFIFDqaRyd0KZ0DLXFD3rfhI4SU.html

  • @riteshmathur9221
    @riteshmathur9221 5 місяців тому

    Hi, I have added a VSTO COMAddIn with my office application. I want to call that COMAddIn function using VBA to reduce time. How will i do, please reply on priority basis

    • @VBAA2Z
      @VBAA2Z  5 місяців тому

      check here ua-cam.com/video/z3cbAh7CzMo/v-deo.html

  • @relax_music668
    @relax_music668 4 роки тому +1

    what time can speak with c#?

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      We'll start soon

  • @abdulsafwan1840
    @abdulsafwan1840 4 роки тому

    is that possible to make it 2 tab instead of 1

    • @VBAA2Z
      @VBAA2Z  4 роки тому

      Yes you can add / insert multiple tabs as needed.

  • @clarkey2203
    @clarkey2203 Рік тому

    The ribbon doesnt appear for me

    • @VBAA2Z
      @VBAA2Z  10 місяців тому

      make sure it is loaded correctly. start simple first

  • @grantgranite1109
    @grantgranite1109 5 місяців тому +1

    I find your video unnecessarily complex, wandering, and long. You are trying to demo some features of a VSTO Add-in, so just do that: your don't need all the cursor fiddling and on-the-spot thinking and stream-of-conscious talking and all those widgets in the ribbon. Also, you could give some overview of when one uses Application. versus .something versus Globals...blah, blah.
    The syntax of the VSTO and Ribbon components is complex and there does not appear to be a good explanation of how to use the proper syntax.

    • @VBAA2Z
      @VBAA2Z  5 місяців тому

      thanks for your feedback! hope you find good VSTO videos