+ Reply to Thread
Results 1 to 2 of 2

Workbook_Open code not firing unless MsgBox is in code

  1. #1
    Forum Contributor yay_excel's Avatar
    Join Date
    08-12-2011
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    190

    Question Workbook_Open code not firing unless MsgBox is in code

    I am experiencing the strangest problem. A workbook I developed a few months ago suddenly appeared to stop firing the Workbook_Open code. To test if the code was not working or the even was not being triggered, I added a msgbox at the beginning of the code. With the msgbox, the entire code triggers and executes correctly. Without the msgbox, nothing happens. I have never seen this before. I am sure events are enabled and all that jazz and I have tested the msgbox thing three times. It always works with the msgbox and doesn't work without it.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,581

    Re: Workbook_Open code not firing unless MsgBox is in code

    How are you opening the workbook?

    Are there any other workbooks open?
    If posting code please use code tags, see here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. EXCEL 2010, Workbook_open not firing using Interop and VS2012 (.NET Fwk 4)
    By slanglade in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2013, 10:56 AM
  2. Private sub workbook_open code running workbook_open code from other project
    By marshall_massive in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-20-2013, 06:07 PM
  3. [SOLVED] Workbook_Open event not firing for Excel2K
    By John Keith in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-15-2006, 10:45 AM
  4. Workbook_Open event not firing
    By 0013 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-24-2005, 05:06 PM
  5. [SOLVED] Code for App level event (not firing)
    By Chris W in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-27-2005, 11:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1