S
SusanneV
From an Access form I am using VBA (I'm a beginner)to open
a Word document and insert data into bookmarks. I need a
date field formatted differently in the Word document than
is needed in the Access form. I am using this code:
If objWord.ActiveDocument.Bookmarks.Exists("ClinicDate") =
True Then
Word.ActiveDocument.Bookmarks
("ClinicDate").Range.Text = Me!ClinicDate
End If
The format in Access is mm/dd/yyyy but I need dddd, MMMM
dd, yyyy in Word.
Your help will be greatly appreciated. Thanks!
a Word document and insert data into bookmarks. I need a
date field formatted differently in the Word document than
is needed in the Access form. I am using this code:
If objWord.ActiveDocument.Bookmarks.Exists("ClinicDate") =
True Then
Word.ActiveDocument.Bookmarks
("ClinicDate").Range.Text = Me!ClinicDate
End If
The format in Access is mm/dd/yyyy but I need dddd, MMMM
dd, yyyy in Word.
Your help will be greatly appreciated. Thanks!