Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default code does not work when opening again


why is it my worksheet event procedure code does not run when i open it
again? but before i close it it is working, i saved the file.....this
confuses me.....


--
tweety127
------------------------------------------------------------------------
tweety127's Profile: http://www.excelforum.com/member.php...o&userid=34673
View this thread: http://www.excelforum.com/showthread...hreadid=568073

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default code does not work when opening again

You need to post some code for ust to check. A few questions though. Are you
sure that your code is not running? Put a message box first thing in the
Workbook_Open procedure to verify that it really is not running. Also do you
toggle the Application.EnableEvents to false at any point without turning it
back on. This setting will persist until code returns it to true...
--
HTH...

Jim Thomlinson


"tweety127" wrote:


why is it my worksheet event procedure code does not run when i open it
again? but before i close it it is working, i saved the file.....this
confuses me.....


--
tweety127
------------------------------------------------------------------------
tweety127's Profile: http://www.excelforum.com/member.php...o&userid=34673
View this thread: http://www.excelforum.com/showthread...hreadid=568073


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
opening excel spreadsheet but it didnt save my last work ValP Excel Discussion (Misc queries) 2 January 21st 09 04:09 PM
excel crash when opening work book squid509 Excel Discussion (Misc queries) 1 July 6th 07 02:41 PM
Opening an excel workbook doesnt work bigdaddy3 Excel Programming 2 January 10th 06 12:11 PM
run code on opening workbook and apply code to certain sheets Jane Excel Programming 7 August 8th 05 09:15 AM
Some menus don't work opening xls in IE 6.0 [email protected] Excel Programming 6 November 16th 04 06:24 AM


All times are GMT +1. The time now is 10:33 PM.

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"