![]() |
VBA Syntax to :select" or activate a module in Project Explorer
2003
Using a macro to save certain modules displayed in Project Explorer. Yey I cannot figure out the VBA code to "activate" those different ThisWorkBook modules so that I can issuse the command hisWorkBook.Save = all done with VBA. TIA EagleOne |
VBA Syntax to :select" or activate a module in Project Explorer
For those wishing to save your .xla files using VBE, the following worked for me: Workbooks("YourAddin.xla").Activate Workbooks("YourAddin.xla").IsAddin = False Workbooks("YourAddin.xla").Save Workbooks("YourAddin.xla").IsAddin = True Dennis Dennis wrote: 2003 Using a macro to save certain modules displayed in Project Explorer. Yey I cannot figure out the VBA code to "activate" those different ThisWorkBook modules so that I can issuse the command hisWorkBook.Save = all done with VBA. TIA EagleOne |
All times are GMT +1. The time now is 09:56 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com