Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default code in VBAProject will not run

Hi All,
I have a excel workbook that will not run any of the vba events. After creating a new workbook and coping the sheet data the events will run, but, after closing and reopening the workbook the events stop runing.

any help is appreciated,

mike
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default code in VBAProject will not run

Mike,

Search the code for Application.EnableEvents = False and ensure that there
is a corresponding Application.EnableEvents = True .


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike" wrote in message
...
Hi All,
I have a excel workbook that will not run any of the vba events. After

creating a new workbook and coping the sheet data the events will run, but,
after closing and reopening the workbook the events stop runing.

any help is appreciated,

mike



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default code in VBAProject will not run

.... and that any error handling in that area re-enables events.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Chip Pearson" wrote in message
...
Mike,

Search the code for Application.EnableEvents = False and ensure that there
is a corresponding Application.EnableEvents = True .


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com

"Mike" wrote in message
...
Hi All,
I have a excel workbook that will not run any of the vba events. After

creating a new workbook and coping the sheet data the events will run,

but,
after closing and reopening the workbook the events stop runing.

any help is appreciated,

mike





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
Cracking VBAProject Password Lacty Excel Discussion (Misc queries) 1 May 16th 10 10:50 AM
How with VBA, can I activate one of many modules in a VBAProject? [email protected] Excel Discussion (Misc queries) 1 January 17th 07 02:08 AM
VBAProject Password upon exiting Excel cyork003 Excel Discussion (Misc queries) 1 March 29th 05 08:23 PM
VBAProject Andy Excel Worksheet Functions 1 January 10th 05 02:53 PM
How to Delete a VBAProject JStone0218 Excel Programming 1 November 8th 03 02:47 PM


All times are GMT +1. The time now is 09:41 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"