+ Reply to Thread
Results 1 to 4 of 4

Workbook events not working correctly.

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Workbook events not working correctly.

    For some reason the workbook events only appear to work once per session. For example when I first open a workbook the events work just fine, but if I Close the workbook then later reopen it then the workbook events are disabled. I can only get them to work again if I quit and restart excel before opening the workbook a second time. This is my Workbook code:

    Please Login or Register  to view this content.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Workbook events not working correctly.

    Include "Application.EnableEvents = True" statement before each Exit Sub in your code to see if the issue resolves.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Workbook events not working correctly.

    Thats sktneer that was the issue.

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Workbook events not working correctly.

    Glad I could help. Thanks for the feedback and rep.

+ 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. [SOLVED] Excel Events not Working
    By boss1982 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-23-2013, 04:38 AM
  2. Replies: 9
    Last Post: 03-08-2013, 11:50 AM
  3. [SOLVED] Copying Filtered Data From 2 Sheets of One Workbook to Another Isn't Working Correctly
    By ScotyB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-13-2012, 06:30 PM
  4. Open/close events not working correctly
    By talksalot81 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-21-2011, 09:32 AM
  5. Worksheet Events Not Working
    By Dyl in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-18-2005, 12:20 PM

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