AD_Taylor
Well-known Member
- Joined
- May 19, 2011
- Messages
- 687
Hi,
I have a Sub which I don't want to be seen in the Run Macros window but I do want to be able to call from other Modules inside my code.
For example I want to be able to call it from a Worksheet_Change event. But I specifically don't want users to be able to see and/or run it.
I thought the way around this would be a Private Sub but then only code in the same Module can call it.
Any ideas?
- Adam
I have a Sub which I don't want to be seen in the Run Macros window but I do want to be able to call from other Modules inside my code.
For example I want to be able to call it from a Worksheet_Change event. But I specifically don't want users to be able to see and/or run it.
I thought the way around this would be a Private Sub but then only code in the same Module can call it.
Any ideas?
- Adam