O
OssieMac
Is there any way of changing the format of the data in a DocVariable?
I have the following code emulates what I have in an Access project where I
copy some data from an Access form to DocVariables in a Word document. I want
to be able to apply formatting to it such as bold font but can't find the
right code to do so.
Dim strMyData as string
strMyData = "My test text"
ActiveDocument.Variables("TestFont") = strMyData
ActiveDocument.Fields.Update
Any help will be greatly appreciated.
I have the following code emulates what I have in an Access project where I
copy some data from an Access form to DocVariables in a Word document. I want
to be able to apply formatting to it such as bold font but can't find the
right code to do so.
Dim strMyData as string
strMyData = "My test text"
ActiveDocument.Variables("TestFont") = strMyData
ActiveDocument.Fields.Update
Any help will be greatly appreciated.