Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
When I open a workbook, another one called Book1 is also opened. W | Excel Discussion (Misc queries) | |||
why is an Excel file called a workbook? | Excel Discussion (Misc queries) | |||
Run Workbook_Open only if called | Excel Programming | |||
Run Workbook_Open only if called | Excel Programming | |||
Private Sub Workbook_Open() not running on open | Excel Programming |