How to Create a Custom Excel Add-in (Step-by-Step Guide)

  Рет қаралды 58,688

Coding Is Fun

Coding Is Fun

Күн бұрын

Пікірлер: 115
@CodingIsFun
@CodingIsFun Жыл бұрын
*Hope this video helps you to create your own Excel add-in!* 🚀 Here are all the relevant links: 👉GitHub Repo: github.com/Sven-Bo/excel-add-in-tutorial-template 👉Office RibbonX Editor: github.com/fernandreu/office-ribbonx-editor/releases/tag/v1.9.0 👉MyToolBelt Add-in: pythonandvba.com/mytoolbelt 👉Office imageMSO icon library: bert-toolkit.com/imagemso-list.html 👉Blog Post (XML/VBA Starter Code): bettersolutions.com/vba/ribbon/document-level-customui-editor.htm 👉Microsoft Custom UI Docs: learn.microsoft.com/en-us/openspecs/office_standards/ms-customui/d842006e-3187-4f66-a17d-0819a3cc94b5
@JimmyBuffetParrotVomit
@JimmyBuffetParrotVomit 10 ай бұрын
Great walk through video! I've spent the afternoon installing Visual Studio and trying to figure out their IDE and how to build an Add In through the project template but this is 1000x simpler and works for sharing a few work tools with coworkers... Thanks!
@CodingIsFun
@CodingIsFun 9 ай бұрын
Glad to hear that you liked the video. Good luck with your add-in. I am sure your coworkers will love it! :) Cheers, Sven ✌️
@ajayhuestis4981
@ajayhuestis4981 10 ай бұрын
I've been needing to create my own ribbon add in for a while and this was super easy to follow and straight forward. Thanks!
@CodingIsFun
@CodingIsFun 10 ай бұрын
Happy to hear that you liked the video. Good luck with your add-in and happy excelling! Cheers, Sven ✌️
@ajayhuestis4981
@ajayhuestis4981 10 ай бұрын
On a side note. I don’t suppose you’re planning another video with how to make the custom tick marks on your add in?
@CodingIsFun
@CodingIsFun 10 ай бұрын
@@ajayhuestis4981 I am afraid you are right. I will most likely focus more on Python-related content in the future. I might only sprinkle in some VBA videos here and there.
@servatechtips
@servatechtips Жыл бұрын
Wooow, it's so cool, can you another video for word Add-in?
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it and thanks for your video suggestion :)
@Ghfcvhycvyy
@Ghfcvhycvyy Жыл бұрын
Very very good video!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you! :)
@christianrauth1425
@christianrauth1425 Жыл бұрын
Great that you are back 🚀 I should think of creating my own Excel Add-In 🤓
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks, Christian! Go for it and happy coding! 🚀🤓
@ricardo.alves.campos
@ricardo.alves.campos Жыл бұрын
Welcome back, very nice video!
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you, Ricardo! I appreciate all your support! 👍
@shiazasif8058
@shiazasif8058 Жыл бұрын
Welcome back
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks! ♥
@init_yeah
@init_yeah Жыл бұрын
Its been a while hope you can make even more exciting videos!
@CodingIsFun
@CodingIsFun Жыл бұрын
Yes, I took a small break from KZbin in March as I was on vacation. But rest assured, there will be more videos coming in the future! :)
@krishnashravan
@krishnashravan Жыл бұрын
Very detailed video a small doubt: I'm trying to connect to the azure open ai service(instead of open ai) what changes should have to make in the code
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you very much for watching the video and your comment. Your requirements are well noted. Yet, I receive many requests for creating individual solutions. As much as I want to help, I simply do not find the time in my daily schedule to develop & test all the different requests. I hope you can understand. Thank you!
@PatrickAngwin
@PatrickAngwin Жыл бұрын
Hey Sven, great tutorial. I've been thinking for a while now that I'd like to learn how to create an Excel add-in with a custom ribbon tab and icons, etc, to give myself easy access to macros I've developed which could be useful across different workbooks, etc. Today I followed your step-by-step guide and it all worked perfectly: I now have a personalised ribbon tab with my first custom icon to launch a little routine I wrote, plus I've taken the liberty of adding your two IFERROR tools, which no doubt will also come in handy. If you ever have the time and the inclination to do a follow-up video to explain more advanced techniques using some of the different elements you mention briefly starting at 10:43, that would be great!... But in the meantime, thanks for this excellent introductory lesson which was enough to get me up and running.
@CodingIsFun
@CodingIsFun Жыл бұрын
Hi Patrick, Thank you so much for the positive feedback! I'm thrilled to hear you were able to create your own add-in. I've noted your suggestion regarding a follow-up video, but I can't make any promises at this moment. In the meantime, you might want to explore this wonderful playlist from a fellow KZbinr. It includes more in-depth tutorials on how to add advanced ribbon elements: kzbin.info/www/bejne/r6GsY4mOjsaLh6s&ab_channel=VBAA2Z I hope it proves helpful! Happy Coding!
@JoeMcMullin
@JoeMcMullin 10 ай бұрын
Would absolutely love a tutorial on how you made the Table of Contents WITH clickable screenshots!! Genius!! I am really enjoying your Add-in "My Tool Belt" Pro version is perfect.
@CodingIsFun
@CodingIsFun 10 ай бұрын
Happy to hear you're enjoying the MyToolBelt PRO Version! Your video request is definitely noted, but creating a detailed walkthrough of the TOC feature might be a bit out of reach at the moment, since I’m currently diving deeper into Python topics. Seems to resonate better with the audience for some reason. But hey, never say never, right? Anyways, super happy to hear you liked the video and are enjoying the MyToolBelt add-in. Cheers, Sven ✌
@JoeMcMullin
@JoeMcMullin 10 ай бұрын
@@CodingIsFun maybe a comment pointing towards some resources on the topic of adding linked screenshot macros??? Worth asking 😊
@jomo.alfredo
@jomo.alfredo 5 ай бұрын
You are a talented teacher. Thanks so much.
@CodingIsFun
@CodingIsFun 5 ай бұрын
Glad to hear that you like my teaching style. Cheers, Sven ✌️
@alexmorton5556
@alexmorton5556 Жыл бұрын
Nice Video, very helpful. Do you know how to make a VBA addin that opens a side pane with UI elements? Like the wikipedia addin say?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks! You could do that with VSTO or Office.js Excel add-ins :)
@ernestoluyov
@ernestoluyov Жыл бұрын
you can use visual studio and create VSTO addin (in VB or C#) add Pane object in your project. or create an office addin using visual studio or visual studio code.
@balazspalinkas7848
@balazspalinkas7848 4 ай бұрын
This is an amazing video!! Thanks so much for taking the time to explain!!
@CodingIsFun
@CodingIsFun 4 ай бұрын
Glad it was helpful! Thanks for watching! Cheers, Sven ✌️
@chuxTube68
@chuxTube68 Жыл бұрын
I have a couple VBA functions I put together in an XLSM file and want to use it as an add-in for other sheets I create. How do I keep the XLSM from opening up when I open a file that has the add-in attached to it?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Sorry, but I am not sure what you mean
@ernestoluyov
@ernestoluyov Жыл бұрын
I understand that your macros is in the excel file (XLSM) embedded. You have to create an add-in. How you call your initial method?
@malaychowdhury4546
@malaychowdhury4546 2 ай бұрын
This is amezing Sir Thanks a Lot..........
@CodingIsFun
@CodingIsFun 2 ай бұрын
Glad to hear you liked it! Thank you for commenting and watching. -Sven
@parikshitdambhare6647
@parikshitdambhare6647 11 ай бұрын
Great video. Watching from India. I m from forest department. Really very helpful video for save jungle and wildlife. But I can't find "My add in" in your website. Please guide
@CodingIsFun
@CodingIsFun 11 ай бұрын
Thanks for watching. The links, including the Excel workbook from the video, are in the description box.
@parikshitdambhare6647
@parikshitdambhare6647 11 ай бұрын
Thank you sir for lighting speed reply ❤
@zialielmahdy
@zialielmahdy Жыл бұрын
Thank you, that was good
@CodingIsFun
@CodingIsFun Жыл бұрын
Glad you liked it. Thanks for watching and taking the time to leave a comment! 👍
@CRITCS1990
@CRITCS1990 Жыл бұрын
Sri Lanka 🇱🇰 ❤
@CodingIsFun
@CodingIsFun Жыл бұрын
😍♥
@karthikmngowda
@karthikmngowda Жыл бұрын
Hi Sven, how to write python code in vba macro?. Not to use runpython and call py file using xlwings, want to write python code in vba just like we write in spyder, jupyter notebook or other IDEs. Is thr any dll or settings available to do so.
@CodingIsFun
@CodingIsFun Жыл бұрын
VBA is its own scripting language associated with Microsoft Office products and does not support writing Python code within it. You can call external Python scripts via certain methods (like RunPython in xlwings), but there's no way to write Python code directly in VBA as if it were a Python IDE like Spyder or Jupyter Notebook.
@karthikmngowda
@karthikmngowda Жыл бұрын
@@CodingIsFunsure got it and thank u for ur reply
@masotolazarus1971
@masotolazarus1971 6 ай бұрын
Hi Sven, Great Video thanks for sharing. it would be great if Excel Lambdas could be turned to Add-ins any idea if this is possible? many thanks
@CodingIsFun
@CodingIsFun 6 ай бұрын
Hi there! Thanks for watching. Accessing lambda functions directly in VBA isn't possible, but there's a workaround you might find useful. You can actually create your own functions within VBA. These functions become available to anyone with your add-in installed. For example, I recently developed an "AI Formula" that connects to the OpenAI API. Check out this video for a demo: kzbin.info/www/bejne/o2echph3Z5ydfNE Also, if you're interested in creating your own user-defined functions, here's a guide that could help: trumpexcel.com/user-defined-function-vba/ Hope this helps! Happy Coding! Cheers, Sven ✌️
@전승환-h4b
@전승환-h4b 6 ай бұрын
This is really good. Thanks! Can I use this to add into Powerpooint and Outlook?
@CodingIsFun
@CodingIsFun 6 ай бұрын
You can also crete PowerPoint and Outlook add-ins. The process is similar, but not the same. For you reference: stackoverflow.com/a/37548779 I hope it helps! Happy Coding! Cheers, Sven ✌️
@dirtydevil81
@dirtydevil81 Жыл бұрын
Top Video! Thank you! I wished, somebody would do similar videos, e.g. in that quality, for OpenSource Software like Libreoffice Writer or Calc. Would you mind, stepping into these ? ;)
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you for taking the time to watch the video and for your kind words! I'm glad to hear that you found it helpful. I appreciate your suggestion, but unfortunately, I do not have much experience using those programs. Throughout my career as a data analyst, I have primarily used Excel. 😅
@robertcenusa8636
@robertcenusa8636 Жыл бұрын
As always, 10/10 video 👏 Though, I need to ask: would you consider making an advanced version like, hiding all other tabs and locking for the user the possibility to show them again or to see the vba codes from behind?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thank you for watching and for your feedback. I appreciate your suggestions for an advanced version of the tutorial. However, at this point, I'm not planning to create one. That being said, I never say never, but I can't make any promises 😅. Thanks again for your support.
@sujungpark5764
@sujungpark5764 Жыл бұрын
Hi Sven :) did you have nice time in Sri Lanka ? And this video is really cool !
@CodingIsFun
@CodingIsFun Жыл бұрын
Hey Sujung! Thanks for watching. So happy you liked the video! Oh, and Sri Lanka was a blast, had an awesome time there! 🎉
@finessejones3109
@finessejones3109 Жыл бұрын
New sub: Thank you for your video this is exactly what I been looking for. I followed your instructions several times and I keep bringing back a error code stating my api key is invalid but I generate 3 different ones and still same error
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. Please have a look at the following possible solution: github.com/Sven-Bo/Integrate-ChatGPT-in-Excel-using-VBA#common-issues-and-solutions
@haninawaya9967
@haninawaya9967 Жыл бұрын
That is awesome 🎉❤
@CodingIsFun
@CodingIsFun Жыл бұрын
First comment! :) Thank you! Happy Developing! 🤓
@haninawaya9967
@haninawaya9967 Жыл бұрын
@@CodingIsFun I always wait for your great videos 📷
@CodingIsFun
@CodingIsFun Жыл бұрын
@@haninawaya9967 Thanks for your support! 🙏
@mhrunakshaykarnikaavyukta6034
@mhrunakshaykarnikaavyukta6034 5 ай бұрын
Can you guide me how can I publish my own add-in file to the excel add-in store so that other users able to install it in their system without my manual intervention.
@CodingIsFun
@CodingIsFun 5 ай бұрын
Thanks for watching. That is only possible for Office JS Add-ins. Please refer to the office Microsoft docs: learn.microsoft.com/en-us/office/dev/add-ins/publish/publish-office-add-ins-to-appsource Happy Coding! Cheers, Sven ✌️
@vinodganger4038
@vinodganger4038 7 ай бұрын
Thanks for giving link these will help to to study more advance way
@CodingIsFun
@CodingIsFun 7 ай бұрын
An absolute pleasure, very happy to hear that you found it useful! Cheers, Sven ✌️
@SaifulBappy
@SaifulBappy Жыл бұрын
Great Helpfull
@CodingIsFun
@CodingIsFun Жыл бұрын
Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!
@ТарасСак-ж8ж
@ТарасСак-ж8ж 9 ай бұрын
THANK YOU!
@CodingIsFun
@CodingIsFun 9 ай бұрын
My pleasure! Appreciate you taking the time to watch and leave a comment. Cheers, Sven ✌️
@전승환-h4b
@전승환-h4b 6 ай бұрын
How can I fix the error "End of Central Directory record could not be found" when I open the xlsm in the office ribbonX editor?
@전승환-h4b
@전승환-h4b 6 ай бұрын
It was due to security program. Thanks!
@CodingIsFun
@CodingIsFun 6 ай бұрын
Glad you solved it! Cheers, Sven ✌️
@barcode6495
@barcode6495 Жыл бұрын
Good morning. Great videos. Very knowledgeable person and professional. I was wondering if you could post a video on pivot tables using python. Thank you!😊w
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for the kind words and your video suggestion! :)
@konradg1543
@konradg1543 Жыл бұрын
Nice! Where are you creating these graphics/animations, like in 0:14? You download it, or making urself?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. That is a lottie animation: lottiefiles.com/
@mhrunakshaykarnikaavyukta6034
@mhrunakshaykarnikaavyukta6034 10 ай бұрын
Can we make a Installer software like a executable file which after installing it should automatically add my custom Add-in file in their system in excel. Please guide me how to do this task.
@CodingIsFun
@CodingIsFun 8 ай бұрын
Thanks for watching. Have a look at the following article: jkp-ads.com/articles/excel-addin-installer.asp I hope it helps! Happy Coding! Cheers, Sven ✌️
@danesvarneelamagam8941
@danesvarneelamagam8941 Жыл бұрын
How do we sell the add-in we create?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. That is a broad question and hard to answer. You could list it on Gumroad and sell it there, just as one example.
@rahuldev7779
@rahuldev7779 Жыл бұрын
Very nice
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks!
@ClaireBoitet
@ClaireBoitet Жыл бұрын
How do you install RibbonX on a Mac?
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. I think, it only works on Windows - sorry!
@kit-kit-kittty2911
@kit-kit-kittty2911 9 ай бұрын
very nice
@CodingIsFun
@CodingIsFun 9 ай бұрын
Thanks! 👍
@dasolxandzo3152
@dasolxandzo3152 11 ай бұрын
Sory, but when I add my add-in into Excel (like in last video part), my add-in doesn't show on top panel. How I can fix this problem?
@CodingIsFun
@CodingIsFun 11 ай бұрын
Thanks for watching. Hard to tell from a distance
@NuaDeys
@NuaDeys 8 ай бұрын
Can I do this on a Mac? I figured not but wondering if anybody has tried?
@CodingIsFun
@CodingIsFun 7 ай бұрын
Thanks for watching. This solution does only work on Windows. Cheers, Sven ✌️
@michaeljarcher
@michaeljarcher Жыл бұрын
How about updating the ChatGPT for version 4, as the API have been updated. And you code will be depreaceated by 2024, a very nice bit of code I must add. Even Chatgpt itself was unable to offer this function! :-)
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching. The code is already updated and I even created a video about it. Here you are ;) kzbin.info/www/bejne/aYucZ6yCoamco5Isi=l9k-1ftoQLedjpH4
@michaeljarcher
@michaeljarcher Жыл бұрын
@@CodingIsFun Deserves a new subscriber, great job.
@CodingIsFun
@CodingIsFun Жыл бұрын
Welcome aboard! 🎉
@751saksham5
@751saksham5 8 ай бұрын
Made an add in thanks but one major drawback of this is u don't have undo feature for the task u perform through this VBA add in and didn't find anything useful on internet too
@CodingIsFun
@CodingIsFun 8 ай бұрын
Thanks for watching. Perhaps the following video/approach might help you: kzbin.info/www/bejne/gaK6fZl5qc6HgcUsi=3MEA1KoreyfcnYnz Happy Coding! Cheers, Sven ✌️
@danesvarneelamagam8941
@danesvarneelamagam8941 Жыл бұрын
Will I be able to create an add in for this ? kzbin.info/www/bejne/jIjUZpdtn5ujpqs
@CodingIsFun
@CodingIsFun Жыл бұрын
Try it out! :)
@danesvarneelamagam8941
@danesvarneelamagam8941 Жыл бұрын
​@@CodingIsFun One thing I need to mention I got an error "Wrong number of arguments or invalid property assignment", after alot of searching I found that I needed to put "control As IRibbonControl" into the macro Sub MacroName(control As IRibbonControl)
@CodingIsFun
@CodingIsFun Жыл бұрын
@@danesvarneelamagam8941 Yes, that is exactly what I have shown at the 05:00 min mark 😉
@danesvarneelamagam8941
@danesvarneelamagam8941 Жыл бұрын
​@@CodingIsFun Ohh, apologies
@danesvarneelamagam8941
@danesvarneelamagam8941 Жыл бұрын
@@CodingIsFun Ohh, apologies
@Nilmoy
@Nilmoy Жыл бұрын
that strong german accent is quite awkward to listen to.
@CodingIsFun
@CodingIsFun Жыл бұрын
Well, every office superhero needs their unique trait! Mine just happens to be a strong German accent. 🇩🇪💪
@JoeMcMullin
@JoeMcMullin 10 ай бұрын
Your English is perfect! Better than my German which is NON existent. Keep up the amazing work and the passing of knowledge. The pace of your instruction is spot on and the level of information you provide is great. Thank you!!! @@CodingIsFun
@CodingIsFun
@CodingIsFun 10 ай бұрын
@@JoeMcMullin Thanks for the kind words! I really appreciate it! 🙏👍
@BOUTAMINEOmar
@BOUTAMINEOmar Жыл бұрын
i followed you step by step but when i get excut the file excel macro after changing on office !ribbonX Editor it sais the next '' Sorry, we couldn't find C....................xlsm. it is possible it was moved, renamed or deleted? '' what's the probleme PM: in the video, it's 07:24 exactly
@CodingIsFun
@CodingIsFun Жыл бұрын
Thanks for watching and for your question. Hard to tell from a distance why you are facing an error. Sorry that I cannot help.
@BOUTAMINEOmar
@BOUTAMINEOmar Жыл бұрын
@@CodingIsFun can you help me? maybe by using the app AnyDesk ?? please
Making an Excel Ribbon App | VBA
10:26
Max DeMaio
Рет қаралды 23 М.
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 151 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 18 МЛН
6 FREE Add-Ins for Excel to Start Using Now
15:52
Leila Gharani
Рет қаралды 862 М.
No More VBA. ChatGPT to automates boring work with Office Scripts
6:42
MyOnlineTrainingHub
Рет қаралды 151 М.
Create a Distributable Excel Add-In Using VBA and XML
7:46
How To Create Your First Excel Add-in + FREE BONUS
17:22
Excel For Freelancers
Рет қаралды 9 М.
Bring ChatGPT INSIDE Excel to Solve ANY Problem Lightning FAST
11:51
Leila Gharani
Рет қаралды 2,9 МЛН
Unlock Excel Secrets: Magic Search Bar You NEVER Knew About!
17:59
PK: An Excel Expert
Рет қаралды 542 М.
8 Awesome Excel Add-Ins You Should Know!
13:39
Kenji Explains
Рет қаралды 49 М.
Something is wrong with ISPs in India 🇮🇳
13:17
Mehul - Codedamn
Рет қаралды 46 М.
How to Create and Use Excel Macros 😎
13:43
Website Learners
Рет қаралды 87 М.