Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Workbook_Open
I'm new to Excel 2007... has the ability to prevent events from firing when
ooening a file using the shift key no longer available? Any other ways of doing this? If not how do we now get into our macros for editing and testing if we cannot prevent workbook_open event from firing? thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Workbook_Open
As far as I know, the SHIFT key method still works. However, you can always disable events, open your workbook, and then re-enable events. In the VBA editor, press CTRL G to open the Immediate window. There, type the following and press ENTER: Application.EnableEvents = False Then, open the workbook. Once it is open, restore event handling. Type the following into the Immediate window and press ENTER: Application.EnableEvents = True Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 4 Nov 2009 15:51:22 -0500, "BobS" wrote: I'm new to Excel 2007... has the ability to prevent events from firing when ooening a file using the shift key no longer available? Any other ways of doing this? If not how do we now get into our macros for editing and testing if we cannot prevent workbook_open event from firing? thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Workbook_Open
There must be some setting somewhere then because shift just does not work
for me. Any ideas? thanks |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Workbook_Open
No ideas. It works for me in XL2007, Win 7 Ultimate.
Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 4 Nov 2009 18:26:18 -0500, "BobS" wrote: There must be some setting somewhere then because shift just does not work for me. Any ideas? thanks |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
Workbook_Open
Is working OK here also but after 2007 was released I read about this problem more in the newsgroup.
I was never able to reproduce it. -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Chip Pearson" wrote in message ... No ideas. It works for me in XL2007, Win 7 Ultimate. Cordially, Chip Pearson Microsoft Most Valuable Professional Excel Product Group, 1998 - 2010 Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Wed, 4 Nov 2009 18:26:18 -0500, "BobS" wrote: There must be some setting somewhere then because shift just does not work for me. Any ideas? thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
workbook_Open | Excel Programming | |||
Workbook_Open | Excel Programming | |||
Workbook_Open() will not run | Excel Programming | |||
Workbook_Open | Excel Programming | |||
workbook_open | Excel Programming |