+ Reply to Thread
Results 1 to 2 of 2

Date Time of Last Execution

  1. #1
    JB2010
    Guest

    Date Time of Last Execution

    Hi


    Is there a way to log the date time a macro was run?

    For example, i have a button that fires off a macro, the user selects when
    to hit the button, but the choice to hit it may be based on how much time has
    elapsed since it was last hit. If i could put a date / time in an adjacent
    cell to the button, users could make a more informed choice.

    Any help gratefully recieved. If you need more info, please do not hesitate
    to contact me


    cheers


    jb

  2. #2
    Gary''s Student
    Guest

    RE: Date Time of Last Execution

    Within the macro include something like:

    Range("A1").Value = Now()

    pick any cell in place of A1
    --
    Gary''s Student


    "JB2010" wrote:

    > Hi
    >
    >
    > Is there a way to log the date time a macro was run?
    >
    > For example, i have a button that fires off a macro, the user selects when
    > to hit the button, but the choice to hit it may be based on how much time has
    > elapsed since it was last hit. If i could put a date / time in an adjacent
    > cell to the button, users could make a more informed choice.
    >
    > Any help gratefully recieved. If you need more info, please do not hesitate
    > to contact me
    >
    >
    > cheers
    >
    >
    > jb


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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