Automatically displaying a date

M

Marcotte A

You can use the following VBA code to have the date appear in cell B3 the first time you open the spreadsheet (and then never change on subsquent days/opennings). I use it for a template of a daily order recap form. (Just make sure the user doesn't save over the template ;

Private Sub Workbook_Open(
If Sheets("master").Range("b3") = "" The
Sheets("master").Range("b3") = Dat
Els
End I
End Sub
 

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

Top