Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default open a workbook without running Workbook_Open macro in E2007

Hi all,

in Excel versions before E2007 it was possible to open a workbook without
running the "Workbook_Open" macro by holding the "Shift" key. This does not
seem to work any longer in Excel 2007. Macro Settings in the Trust Center are
set to "Enable all macros".

Does anybody know a workaround?

Thanks for your help.

Andreas

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default open a workbook without running Workbook_Open macro in E2007


If you have any other macros with hot key having Shift combination remove
that and try.

If this post helps click Yes
---------------
Jacob Skaria


"Andreas" wrote:

Hi all,

in Excel versions before E2007 it was possible to open a workbook without
running the "Workbook_Open" macro by holding the "Shift" key. This does not
seem to work any longer in Excel 2007. Macro Settings in the Trust Center are
set to "Enable all macros".

Does anybody know a workaround?

Thanks for your help.

Andreas

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default open a workbook without running Workbook_Open macro in E2007

Hi Jacob,

thanks for your tip. Unfortunately, it does not help. Workbook_Open still
runs.

Andreas



"Jacob Skaria" wrote:

If you have any other macros with hot key having Shift combination remove
that and try.

If this post helps click Yes
---------------
Jacob Skaria


"Andreas" wrote:

Hi all,

in Excel versions before E2007 it was possible to open a workbook without
running the "Workbook_Open" macro by holding the "Shift" key. This does not
seem to work any longer in Excel 2007. Macro Settings in the Trust Center are
set to "Enable all macros".

Does anybody know a workaround?

Thanks for your help.

Andreas

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default open a workbook without running Workbook_Open macro in E2007


I cannot replicate your problem.

I have a workbook.xlsm with Workbook_Open code.

Private Sub Workbook_Open()
MsgBox "hoohah"
End Sub

If I hold the shift key while opening, the code does not fire, else it does
fire.


Gord Dibben MS Excel MVP

On Sun, 5 Jul 2009 10:07:00 -0700, Andreas
wrote:

Hi all,

in Excel versions before E2007 it was possible to open a workbook without
running the "Workbook_Open" macro by holding the "Shift" key. This does not
seem to work any longer in Excel 2007. Macro Settings in the Trust Center are
set to "Enable all macros".

Does anybody know a workaround?

Thanks for your help.

Andreas


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default open a workbook without running Workbook_Open macro in E2007


I saw that problem also a long time ago with testing but it seems to be fixed if you run the latest updates

For Andreas
What Service Pack are you running

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Gord Dibben" <gorddibbATshawDOTca wrote in message ...
I cannot replicate your problem.

I have a workbook.xlsm with Workbook_Open code.

Private Sub Workbook_Open()
MsgBox "hoohah"
End Sub

If I hold the shift key while opening, the code does not fire, else it does
fire.


Gord Dibben MS Excel MVP

On Sun, 5 Jul 2009 10:07:00 -0700, Andreas
wrote:

Hi all,

in Excel versions before E2007 it was possible to open a workbook without
running the "Workbook_Open" macro by holding the "Shift" key. This does not
seem to work any longer in Excel 2007. Macro Settings in the Trust Center are
set to "Enable all macros".

Does anybody know a workaround?

Thanks for your help.

Andreas




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default open a workbook without running Workbook_Open macro in E2007


Ron

Must be I have the latest updates.

Where do I see what SP I am running.................used to be HelpAbout

Can't find that!!


Gord

On Sun, 5 Jul 2009 21:36:46 +0200, "Ron de Bruin"
wrote:

I saw that problem also a long time ago with testing but it seems to be fixed if you run the latest updates

For Andreas
What Service Pack are you running


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,942
Default open a workbook without running Workbook_Open macro in E2007


hi
office buttonexcel optionsresource groupabout

Regards
FSt1

"Gord Dibben" wrote:

Ron

Must be I have the latest updates.

Where do I see what SP I am running.................used to be HelpAbout

Can't find that!!


Gord

On Sun, 5 Jul 2009 21:36:46 +0200, "Ron de Bruin"
wrote:

I saw that problem also a long time ago with testing but it seems to be fixed if you run the latest updates

For Andreas
What Service Pack are you running



  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default open a workbook without running Workbook_Open macro in E2007

I am running Excel 2007 SP2 (12.0.6504.5001 SP2 MSO 12.0.6425.1000 - if that
info helps further)

Regards,
Andreas


"Ron de Bruin" wrote:

I saw that problem also a long time ago with testing but it seems to be fixed if you run the latest updates

For Andreas
What Service Pack are you running

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm




"Gord Dibben" <gorddibbATshawDOTca wrote in message ...
I cannot replicate your problem.

I have a workbook.xlsm with Workbook_Open code.

Private Sub Workbook_Open()
MsgBox "hoohah"
End Sub

If I hold the shift key while opening, the code does not fire, else it does
fire.


Gord Dibben MS Excel MVP

On Sun, 5 Jul 2009 10:07:00 -0700, Andreas
wrote:

Hi all,

in Excel versions before E2007 it was possible to open a workbook without
running the "Workbook_Open" macro by holding the "Shift" key. This does not
seem to work any longer in Excel 2007. Macro Settings in the Trust Center are
set to "Enable all macros".

Does anybody know a workaround?

Thanks for your help.

Andreas



  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default open a wb without running Workbook_Open macro in E2007 - Update

UPDATE:

I could prevent the Workbook_Open macro from running in a new workbook!
Since I cannot stop it from running in my existing one, it must be something
in that workbook. I'll have to go investigating myself. Will keep you posted.

Thanks all for your input

Regards,
Andreas


"Andreas" wrote:

I am running Excel 2007 SP2 (12.0.6504.5001 SP2 MSO 12.0.6425.1000 - if that
info helps further)

Regards,
Andreas


Hi all,

in Excel versions before E2007 it was possible to open a workbook without
running the "Workbook_Open" macro by holding the "Shift" key. This does not
seem to work any longer in Excel 2007. Macro Settings in the Trust Center are
set to "Enable all macros".


Does anybody know a workaround?

Thanks for your help.

Andreas


  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default open a workbook without running Workbook_Open macro in E2007


Thank you.

Appears I am only SP1'd

Have downloaded SP2 and will install later.


Gord

On Sun, 5 Jul 2009 13:48:01 -0700, FSt1
wrote:

hi
office buttonexcel optionsresource groupabout

Regards
FSt1

"Gord Dibben" wrote:

Ron

Must be I have the latest updates.

Where do I see what SP I am running.................used to be HelpAbout

Can't find that!!


Gord

On Sun, 5 Jul 2009 21:36:46 +0200, "Ron de Bruin"
wrote:

I saw that problem also a long time ago with testing but it seems to be fixed if you run the latest updates

For Andreas
What Service Pack are you running






  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default open a workbook without running Workbook_Open macro in E2007

Now SP2'd

SHIFT key and open stops macros same as before with SP1

I don't know what which version of Excel 2007 allowed macros to run when
shift key help down.

Must have been pre-SP1 but I would think SP1 is original install from disk?


Gord

On Tue, 07 Jul 2009 09:23:59 -0700, Gord Dibben <gorddibbATshawDOTca wrote:

Thank you.

Appears I am only SP1'd

Have downloaded SP2 and will install later.


Gord

On Sun, 5 Jul 2009 13:48:01 -0700, FSt1
wrote:

hi
office buttonexcel optionsresource groupabout

Regards
FSt1

"Gord Dibben" wrote:

Ron

Must be I have the latest updates.

Where do I see what SP I am running.................used to be HelpAbout

Can't find that!!


Gord

On Sun, 5 Jul 2009 21:36:46 +0200, "Ron de Bruin"
wrote:

I saw that problem also a long time ago with testing but it seems to be fixed if you run the latest updates

For Andreas
What Service Pack are you running



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
Running macro on open of workbook? Lime Excel Programming 5 June 14th 06 06:41 PM
macro not running on workbook open Nick Smith[_2_] Excel Programming 4 May 11th 06 10:24 AM
Running a macro in a open as read-o Workbook TBarreiro Excel Programming 0 September 2nd 05 04:02 PM
Running a macro in a open as read-o Workbook TBarreiro Excel Programming 0 September 2nd 05 03:55 PM
Private Sub Workbook_Open() not running on open Tim[_39_] Excel Programming 0 August 30th 04 09:11 PM


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