Insert date and time?

A

Alen32

I have one textfield in my word document. I want when I open my document to
automticly insert date and time in textfield.
 
J

Jonathan West

Alen32 said:
I have one textfield in my word document. I want when I open my document to
automticly insert date and time in textfield.

Use a Date field or a CreateDate field. The Date field always displays
today's date. The CreateDate field displays the date on which the document
was first created.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

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