LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Open Event not working

Kevin, I guess I'm a bit confused. Here's what I've got thus far:

ThisWorkbook:
Private Sub Workbook_Open()
ActiveWorkbook.RunAutoMacros xlAutoOpen
End Sub

Module1:
Sub auto_open()
MsgBox "event happened"
End Sub

This does not work when the workbook is opened via the VB-like form,
but it does work when you dbl click the template to open. It seems the
workbook_open event is being bypassed.



 
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
Event Procedure not working AD108 Excel Programming 4 April 13th 06 08:06 PM
user form-on open event? keydown event? FSt1[_3_] Excel Programming 2 August 5th 04 02:26 PM
before print event not working goss[_17_] Excel Programming 2 January 29th 04 03:54 AM
Workbook_Open event not working jason Excel Programming 2 September 7th 03 04:02 PM


All times are GMT +1. The time now is 09:56 AM.

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"