Date macro

  • Thread starter Thread starter james
  • Start date Start date
J

james

how do i use a maco to date a doc with today's date, which
will not be updated in the future, unless the macoo is run
agaain?
 
-----Original Message-----
how do i use a maco to date a doc with today's date, which
will not be updated in the future, unless the macoo is run
agaain?
.
Macro to Run:
sub toto()
Range("A1") = Date
Range("A2") = Time
end sub
 
Sub InsertDate
Range("A1") = Format(Date,"dd mmm yyyy")
End Sub

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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

Back
Top