Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default How to stop macros in 2nd workbook?

Thanks

It works a treat+ACE- as follows:

Application.EnableEvents +AD0- False
Workbooks.Open Filename:+AD0AIg-C:+AFw-myfile.xls+ACI-
Application.EnableEvents +AD0- True


Joe

+ACI-Jim Rech+ACI- +ADw-jrrech+AEA-hotmail.com+AD4- wrote in message
news:eD68PTSuDHA.2208+AEA-TK2MSFTNGP10.phx.gbl...
Use Application.EnableEvents +AD0- False prior to opening the workbook. Reset
it afterward.

--
Jim Rech
Excel MVP


Reply
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
Temp Stop and Start Recording Macros. Mike Saffer Excel Worksheet Functions 0 March 20th 08 03:24 PM
How do I stop macro alerts for a spreadsheet with no macros in it DKS044 Excel Discussion (Misc queries) 1 June 23rd 05 03:53 PM
linking of macros with other workbooks. need to stop it! KyWilde Excel Discussion (Misc queries) 1 March 10th 05 07:13 PM
How do I stop Macros from opening with every excel spreadsheet? AlexMilos Excel Discussion (Misc queries) 1 January 13th 05 07:44 PM
How to stop macros in 2nd workbook? Joe 90[_2_] Excel Programming 1 December 2nd 03 10:37 PM


All times are GMT +1. The time now is 03:02 AM.

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

About Us

"It's about Microsoft Excel"