Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default 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
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
Converting text format of time/date into Excel time/date for subtr YY san.[_2_] Excel Worksheet Functions 6 February 25th 10 08:27 AM
add + suppress command buttons in execution time Ali Couran KOTE Excel Programming 1 April 6th 06 10:53 PM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Macro execution time Henry Excel Programming 1 September 8th 05 03:09 PM
Date controlled function execution Greg Snidow Excel Worksheet Functions 3 July 22nd 05 12:36 AM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"