LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disabling Auto_Open in distributed worksheet

I am running an auto_open macro at night using the XP scheduler. The macro
is in an empty spreadsheet xyz_template.xls. It imports data from multiple
sources and saves the loaded data each day with a unique name, say
xyz_2345.xls. (The xyz_template.xls remains unchanged ready for use the next
night). I then e-mail the xyz_2345.xls file to multiple recipients. Since
the auto_open macro is embeddied in this spreadsheet and since all our PC's
are set to Medium Security Level every recipient iis asked whether to
activate macros when they open the spreadsheet. I do not want them to
activate the macro and, in any case, it will fail on their machines. I would
like them to not know anything about the macro as the worksheet already
contains all the data they need

Is there a way for me to automatically deactivate the auto_open macro in the
loaded spreadsheet prior to distribution? Maybe some way of projecting
Application.EnableEvents = False from the xyz_template.xls to xyz_2345.xls

Thank you in anticipation of any responses
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking/Disabling selected worksheet DJ Ghale Excel Worksheet Functions 1 September 16th 08 01:19 AM
Columns distributed evenly in worksheet Aussie[_2_] Excel Discussion (Misc queries) 3 July 2nd 08 09:10 PM
disabling readonly(protect on worksheet) using vba tweety127[_13_] Excel Programming 1 June 2nd 06 10:13 AM
disabling Auto_Open macros Malone[_2_] Excel Programming 3 October 2nd 03 10:20 PM
Auto_Open disabling Tritan Excel Programming 6 July 22nd 03 11:48 AM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"