+ Reply to Thread
Results 1 to 4 of 4

VBA scripts stop working after TimeStamp is used

  1. #1
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2016
    Posts
    140

    VBA scripts stop working after TimeStamp is used

    Hello,
    I have a tracker that I user to timestamp tasks. This tracker has a macro timestamp and VBA that runs when specific criteria is met (such as spell check and when saving the document).

    If I open the tracker and activate any of the VBA they work fine, as soon as I use the timestamp all the VBA stops working and I cannot work out why.

    I have attached a copy of the tracker.
    Thanking you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: VBA scripts stop working after TimeStamp is used

    You have a major flaw in your Worksheet_Change event codes. You disable events, then check if the changed cell was in column E. If it wasn't, you then exit the routine but you don't re-enable events. You should move the code that disables events so that it comes after the column E check.
    Rory

  3. #3
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: VBA scripts stop working after TimeStamp is used

    Hi Rory, thanks for the feedback. I have made the corrections and it all appears to be working fine n dandy. THANK YOU....

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: VBA scripts stop working after TimeStamp is used

    Glad to help, and thanks for the 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. Timestamp with Circular reference & UDF not working properly
    By GAURAVVOHRA in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-31-2019, 09:21 AM
  2. Timestamp with Circular reference & UDF not working properly
    By GAURAVVOHRA in forum Excel General
    Replies: 1
    Last Post: 03-31-2019, 04:30 AM
  3. Working with a Timestamp
    By RedSummer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2015, 07:10 PM
  4. Replies: 1
    Last Post: 10-30-2012, 07:10 AM
  5. Start and stop timestamp
    By Terriz in forum Excel General
    Replies: 3
    Last Post: 07-22-2009, 03:15 AM
  6. For a website, are Excel scripts better than other programming language scripts?
    By Advice Pro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2009, 02:07 PM
  7. Replies: 0
    Last Post: 05-17-2005, 05:49 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