Excel -Use a keyboard shortcut to run a macro located in a Private Module
I want to run a macro "SubIReallyWant" by using a keyboard shortcut.
I can assign the shortcut programatically
That's also easy.
Changing the module to Option Private Module stops the shortcut :-/
Commenting 'Option Private Module makes the shortcut work again
Sure I could Do something like
'Shortcut "Ctrl +Shift + A"
Option Private Module
Do some stuff
Only this is kinda clumsy!
Looking for an eloquent solution?
Only macros which are available in the macro list can be called by keyboard shortcut. Perhaps the answer would be a dashboard from which you call macros which aren't listed and put a simple password between
More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.
A little background as to how I came to I design this code:
Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm),
I will briefly cover:
1) An overvie…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels.
Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the
Monte Carlo …