Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default workbook_open not being called when I open the excel file

I added some code in the workbook_Open() but the when the user opens
the excel file, there is evidence that the workbook_Open() not being
called (form not showing, cells not initializing). He has Excel 2003
Sp1. Does anyone know how could this happen?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default workbook_open not being called when I open the excel file


When Excel prompts him, if he selects "Disable Macros" then Excel will
not initiate any commands in the Workbook_Open command. The same goes
if he has his security set to high in the settings. If that's not the
problem, might be a problem with the code. But would have to see it to
know whether it is or not.


--
dok112
------------------------------------------------------------------------
dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581
View this thread: http://www.excelforum.com/showthread...hreadid=531111

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,073
Default workbook_open not being called when I open the excel file

Hi Hany,
One possible cause is the macro security level is set at "Very High".
When security is at this level the Workbook_Open macro is ignored and
Excel gives no indication to the user that this is the case.
Security is adjusted by going ToolsMacroSecurity...
Medium is the safe choice. The User is given the choice of Enabling or
Disabling macros.

Ken Johnson

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default workbook_open not being called when I open the excel file

Try:

Sub auto_open ()

End sub

Gabor

"Hany" schrieb im Newsbeitrag
oups.com...
I added some code in the workbook_Open() but the when the user opens
the excel file, there is evidence that the workbook_Open() not being
called (form not showing, cells not initializing). He has Excel 2003
Sp1. Does anyone know how could this happen?



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
When I open a workbook, another one called Book1 is also opened. W Ian@MarlandLtd Excel Discussion (Misc queries) 2 November 9th 05 09:36 AM
why is an Excel file called a workbook? Monique Excel Discussion (Misc queries) 3 October 14th 05 05:52 PM
Run Workbook_Open only if called Jarek[_14_] Excel Programming 0 September 18th 04 10:05 AM
Run Workbook_Open only if called Jarek[_13_] Excel Programming 1 September 17th 04 03:10 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 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"