ijourneaux
New Member
- Joined
- Jul 9, 2018
- Messages
- 38
I have a bunch of macros that I keep in a personal.xlsb spreadsheet so they are avaialble to all of the workbook I use.
When in a macro in personal.xlsb, I refer back to the calling spreadsheet using activeworkbook.
That works as long as I only have 1 spreadsheet up but if I am using excel and have several workbooks open, the macros can break if the wrong workbook is active.
Is there a way from Personal.xlsb to refer back to the specific spreadsheet that called the macro?
Ian
When in a macro in personal.xlsb, I refer back to the calling spreadsheet using activeworkbook.
That works as long as I only have 1 spreadsheet up but if I am using excel and have several workbooks open, the macros can break if the wrong workbook is active.
Is there a way from Personal.xlsb to refer back to the specific spreadsheet that called the macro?
Ian