Last printed at ......

neilp

Well-known Member
Joined
Jul 5, 2004
Messages
525
Office Version
  1. 365
Platform
  1. Windows
Hi All

I have a document that is changed and printed regularly. I have the header set up to show the time that it was printed.

Is there anyway i can record this time in the spreadsheet itself so that when someone comes to me with a sheet saying 09:15, I can open the spreadsheet and see that they are working on an old copy, because the last time it was printed was 09:22?

thanks in advance

Neil
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
This should work

Code:
Private Sub Workbook_BeforePrint(Cancel As Boolean)

     Range("A1").value = "Last printed: " & Format(Now(), "dd/MM/yyyy hh:mm")

End Sub
 
Upvote 0

Forum statistics

Threads
1,203,462
Messages
6,055,562
Members
444,799
Latest member
CraigCrowhurst

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top