G
Guest
I am having problems with the format of a date. here is my code that I use
to put into a word doc. but its not keeping the format that I have in the
table and form.
If IsNull(Forms![in-house r&d]![IRD]) Or Forms![in-house r&d]![IRD] = "" Then
prompt = MsgBox("The Issue Date has not been entered", vbOKOnly)
Else
.activedocument.Bookmarks("IRD").Select
.selection.Text = (CStr(Forms![in-house r&d]![IRD]))
.activedocument.Bookmarks.Add Name:=("IRD")
End If
It comes up and states the format is mm/dd/yyyyy, but I need it to be in
mmmm dd, yyyy. I have tried everything, but the format will not carry over
from the form. Thanks for any help.
to put into a word doc. but its not keeping the format that I have in the
table and form.
If IsNull(Forms![in-house r&d]![IRD]) Or Forms![in-house r&d]![IRD] = "" Then
prompt = MsgBox("The Issue Date has not been entered", vbOKOnly)
Else
.activedocument.Bookmarks("IRD").Select
.selection.Text = (CStr(Forms![in-house r&d]![IRD]))
.activedocument.Bookmarks.Add Name:=("IRD")
End If
It comes up and states the format is mm/dd/yyyyy, but I need it to be in
mmmm dd, yyyy. I have tried everything, but the format will not carry over
from the form. Thanks for any help.