creating an addin for all regularly used vba functions

karraj

Board Regular
Joined
Mar 5, 2002
Messages
76
Can anyone direct me on how to create an addin for my regularly used vba functins, so that I need not cut, copy paste all my functions from one spreadsheet to another.
Thanks in advance
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
save a workbook with all your macros in it as an add-in (.xla) in directory Program FilesMicrosoft OfficeOfficeLibrary. Next close the file and attach the new add-in (Tools - Add-ins).
Please note: this is true for Office 97, I don't know about higher versions...

Marc
 
Upvote 0
Just put all of your code into a module. Name it basMyUtils or something like that. Export it to a common place on your machine/network.

Then, simply import that module into your new projects. You'll be able to use all of your code then.

Another route would be to make a DLL that contains all your functions. The other choice would definitely be the easiest though.

Regards,

Doug
 
Upvote 0
thanks all of you.
I tried that, but how do I add the descriptive explanation for all the inputs to my function when the function pop up is seen?
Thanks
 
Upvote 0

Forum statistics

Threads
1,213,482
Messages
6,113,916
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top