Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Workbook_Open

There must be some setting somewhere then because shift just does not work
for me.

Any ideas?

thanks



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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
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
workbook_Open ernie Excel Programming 3 June 12th 07 04:46 AM
Workbook_Open Kevin R Excel Programming 4 February 8th 05 12:53 PM
Workbook_Open() will not run Jack Sheet Excel Programming 11 December 9th 04 09:04 AM
Workbook_Open Jim Zeeb[_2_] Excel Programming 8 December 3rd 04 11:54 PM
workbook_open julio Excel Programming 4 September 26th 04 10:23 PM


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