Saving Macros

davidzan

New Member
Joined
Feb 13, 2024
Messages
21
Office Version
  1. 2010
Platform
  1. Windows
Where Is it better to save recorded macros, "PERSONAL XLSB" or Current Worksheet?
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Where Is it better to save recorded macros, "PERSONAL XLSB" or Current Worksheet?

If you save your macros to the PERSONAL.XLSB, you can use it on any workbook you choose. New or existing.
If you save it to a workbook, it will only work on that particular workbook.
 
Upvote 0
I cannot edit my posting above since the time limit has expired. A slight correction to what I said above.

If you save it to a specific workbook, it can only be called or executed only work on that particular workbook. be if that particular workbook is open.
 
Upvote 0
Another difference: if you save them in your Personal.xlsm/b the macros can be executed on your PC; if you save them in the active workbook, they will travel with the workbook.
 
Upvote 0
If you save your macros to the PERSONAL.XLSB, you can use it on any workbook you choose. New or existing.
If you save it to a workbook, it will only work on that particular workbook.
Thanks so much for taking time to answer my question. I fully understand.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

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