Timestamp a sheet

  • Thread starter Thread starter eluehmann
  • Start date Start date
E

eluehmann

I would like to timestamp a sheet upon opening but I do not want th
date to change after it is initially stamped. Right now I am usin
today() but as you all know this gives teh day that you are a
currently. Any suggestions
 
Hi,

You can paste this into the ThisWorkbook module.

Private Sub Workbook_Open()
If Range("A1").Value = "" Then Range("A1") = Now()
End Sub

jeff
 
Put this code into the ThisWorkbook Module

Private Sub Workbook_Open()
Range("A1") = Date
End Sub

Change "A1" to whatever cell you want the timestamp in, and format th
cell to show the date as you want it
 
ElsiePOA;
Wouldn't this code <<AS IS>> assign the current date each time the file was
opened?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

TimeStamp 2
autofill timestamp 3
Delete Timestamp 2
need help with timestamp macro 2
Timestamp Button 2
PASTE SPECIAL 1
timestamp handle 5
If/Then Formula Question 2

Back
Top