Macros showing up in wrong WB

mikecox39

Active Member
Joined
Mar 5, 2014
Messages
251
Office Version
  1. 365
Platform
  1. Windows
I have 2 workbooks, Personal and Office and they are not interchangeable. I can't seem to isolate the macro I created for each of them.


Each unique macros should only be accessible from it's relevant WB, but I'm doing something wrong because this is what I have this: https://app.box.com/s/z5z0rcp4xgd4vwfe1wgn

Also, I have lost macro code, I created a macro, renamed it but later, when I opened the WP found the macro name but an empty code pane. There doesn't appear to be a save option, I decided to click the save (disk) icon on the toolbar.
 
Here's the link to my Box folder and the workbook in question. I didn't remove the data, nothing there to protect.

I did have the macro on the Quick Access but it didn't work the last time so I removed it. I checked the Macro list again, to replace it, but it wasn't listed, as you can see.

https://app.box.com/s/z5z0rcp4xgd4vwfe1wgn
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi Mike,

The reason the macro is named this way in the macro's box is because you used the same name for the macro (sub BackupBudget) and the module the macro is in. If you change the name of the module to anything else, the module name and workbook name disappear form the dialog. Excel doesn't like duplication of names of things, best to keep them unique.
 
Upvote 0
Hi Mike,The reason the macro is named this way in the macro's box is because you used the same name for the macro (sub BackupBudget) and the module the macro is in. If you change the name of the module to anything else, the module name and workbook name disappear form the dialog. Excel doesn't like duplication of names of things, best to keep them unique.
Thanks Jan, I'll create a different name and will not make that mistake again.
 
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,629
Members
452,661
Latest member
Nonhle

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