Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Enforcing Macro-enabled saves
Hi group.
I have an Excel workbook which contains VBA. It is used by some Excel '03 and Excel '07 users. I need to find a way to make the Excel '07 users save it as macro enabled. I was thinking the right way to do that would be some code as a Workbook_BeforeSave subroutine. Could anyone suggest some code that I could insert into the Workbook_BeforeSave subroutine to: 1. Firstly, check whether the user is using '07 (because if they aren't it isn't an issue); and 2. If they are using '07, make the "Save As Type" drop-down box in the resulting "Save As" dialog box show Macro-enabled workbook as a default. Any suggestions would be greatly appreciated. I have a working knwoledge of VBA but some of these more advanced commands I'm still learning. Thanks, Darren |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro-Enabled saving | Excel Discussion (Misc queries) | |||
Macro Enabled workbooks | Excel Discussion (Misc queries) | |||
Macro-enabled workbooks | Excel Discussion (Misc queries) | |||
need help to update macro to office 2007 macro enabled workbook | Excel Discussion (Misc queries) | |||
Force Macro Enabled | Excel Programming |