Saving Workbook as an AddIn

HighAndWilder

Active Member
Joined
Nov 4, 2006
Messages
394
Office Version
  1. 365
Platform
  1. Windows
Hi All

I'm just exploring using Add-In's to slowly build up a Function Library.

Do please tell me if this is not the right way to go but the idea I have is to save the macro enabled workbook as an Add-In when I close the workbook.

I have recorded a macro and notice that whilst code is recorded to save the workbook as a macro enabled workbook the code to save the workbook as an Add-In is missing. The ChDir line to change the folder to the default Add-In folder is there though.

Is there a valid reason why this is the case?

Is there a way around this problem if it is indeed a problem?

How do others manage Add-In's?

Thanks and I hope that you are all having a good day.

HighAndWild
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
My understanding is that addins are best used for things like major projects where you may need to maintain code for a group without having to go to every pc or recalling workbooks.

The thing you are trying to do is probably best kept in a functions module in your personal workbook.
 
Upvote 0
Why do you need to use code to save the workbook as an add-in? Even if you do, just add a line to do that.
 
Upvote 0

Forum statistics

Threads
1,215,482
Messages
6,125,061
Members
449,206
Latest member
Healthydogs

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