Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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 |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#10
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Running macro on open of workbook? | Excel Programming | |||
macro not running on workbook open | Excel Programming | |||
Running a macro in a open as read-o Workbook | Excel Programming | |||
Running a macro in a open as read-o Workbook | Excel Programming | |||
Private Sub Workbook_Open() not running on open | Excel Programming |