Jan 05 2022 04:45 AM
Hi Folks,
I have some macro excel files and i have assigned them shortcuts, But when normal files are opened then those macros work on those files instead of default excel shortcuts. for example Ctrl+Shift+L is shortcut for filter but in my macro enabled file i have assigned some macro but while that macro file is opened in my PC then in all the excel files Ctrl+Shift+L works as that macro, But i want that to work in only that workbook not others, Is there a way to do the same?
Thanks
Jan 05 2022 08:03 AM
Hi @yugal40
since all worksheets are usually opened within one single instance of Excel, the defined shortcuts are valid for all open worksheets.
You can probably avoid this if you open your macro file in a separate Excel instance. To do so, press the Alt-Key and hold it when you launch Excel, until you get a window like this:
Now you can release the Alt-Key and click on Yes to start a new instance.
And open all the other files in another Excel instance, not in the same one where the macro file is opened. This way I imagine the shortcuts should work as expected.
Jan 05 2022 08:31 AM
Jan 07 2022 07:12 AM
Jan 07 2022 07:32 AM