sparky2205
Well-known Member
- Joined
- Feb 6, 2013
- Messages
- 507
- Office Version
- 365
- 2016
- Platform
- Windows
I have a number of macros on a worksheet which I have added to the context menu. No problem, they all work fine.
I have now added 2 more macros which appear without issue on the context menu.
The problem: when I click on the macro name in the context menu it can't find the macro.
I've found the problem but I don't understand why it is happening.
My macro name is MoveSheet. When I look at the macros in my worksheet I can see that this macro is called CopySheet.CopySheet. Adding this macro name to the context menu setup, it works fine.
All my existing macros, which work fine, are called; CopySheet, DeleteSheet, RenameSheet etc.
I'm wondering why newly added macros, MoveSheet & ColourTab would be called MoveSheet.MoveSheet & ColourTab.ColourTab.
I have now added 2 more macros which appear without issue on the context menu.
The problem: when I click on the macro name in the context menu it can't find the macro.
I've found the problem but I don't understand why it is happening.
My macro name is MoveSheet. When I look at the macros in my worksheet I can see that this macro is called CopySheet.CopySheet. Adding this macro name to the context menu setup, it works fine.
All my existing macros, which work fine, are called; CopySheet, DeleteSheet, RenameSheet etc.
I'm wondering why newly added macros, MoveSheet & ColourTab would be called MoveSheet.MoveSheet & ColourTab.ColourTab.