LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Workbook_Open

I recently installed Microsoft Office 2003 and am experiencing some
odd behavior with the way in which the workbook.open event is handled.

I keep a timesheet for which I record my hours on various products at
work, which allows me to see a breakdown of where my time is focused,
as well as some convenient statistics (average hours/day, etc).

I wrote a short procedure a while back that lives in ThisWorkbook and
locks all of the worksheets except for the current month's whenever I
open the document, with the intent that if I inadvertently leave one
unlocked, the document will automatically remedy this for me next time
I load it. When I reloaded Office 2003 a couple of weeks ago, it
suddenly stopped working.

My procedure is not running when the document is opened, and I've even
shortened it to just a MsgBox (see below) to test it, but to no avail.
Any suggestions would be very welcomed.

Private Sub Workbook_Open()
MsgBox "Test.", vbOKOnly, "Macro"
End Sub

MP-
 
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
Workbook_Open Kevin R Excel Programming 4 February 8th 05 12:53 PM
How to use workbook_open()? Susan Hayes Excel Programming 2 January 29th 05 03:43 PM
Workbook_Open() will not run Jack Sheet Excel Programming 11 December 9th 04 09:04 AM
Workbook_Open Jim Zeeb[_2_] Excel Programming 8 December 3rd 04 11:54 PM
workbook_open julio Excel Programming 4 September 26th 04 10:23 PM


All times are GMT +1. The time now is 03:01 AM.

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"