LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Ben
 
Posts: n/a
Default How do I make a time Stamp in excel?

Ron,

I am glad I found this during my search it is what I am looking for. This
works great except for the speed. Do I have a setting wrong it takes 3
minutes before it will actually print. I am using a Pentium 4 3.4Ghz 1 Gig
ram machine?

Ben

"Ron de Bruin" wrote:

You can use this code in the thisworkbook module to print the
date/time in the footer

Right click on the Excel icon next to File in the Worksheet menu bar
Choose view code
Paste this event there
Alt-q to go back to Excel

Private Sub Workbook_BeforePrint(Cancel As Boolean)
Dim wkSht As Worksheet
For Each wkSht In ThisWorkbook.Worksheets
wkSht.PageSetup.RightFooter = "&8Printed on : " & _
Format(Now, "dd-mm-yy h-mm-ss")
Next wkSht
End Sub



--
Regards Ron de Bruin
http://www.rondebruin.nl


"lbbss" wrote in message ...
I would like for excel to print a date and time every time I print a spread
sheet.
The date is no problem, I use Today() command. Is there a function for
time?





 
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
Can excel have a button to input (stamp) the systems date and/or . abe Excel Worksheet Functions 5 April 24th 07 10:00 PM
Excel sheet for workout jogging time and graph Trevor New Users to Excel 1 March 7th 05 03:54 PM
How to make one CSV file from two Excel sheets? Marek L. Excel Discussion (Misc queries) 3 February 13th 05 07:47 PM
How do I make an If-Then formula in Excel? kdub1980 Excel Worksheet Functions 3 November 11th 04 06:08 AM
Adding time in Excel tahirab Excel Worksheet Functions 1 November 10th 04 09:47 PM


All times are GMT +1. The time now is 07:07 PM.

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"