Hi, I am trying to format text on a Word document that comes from a Access database. I've tried using the macro recording aspect on Word. But when I transfer the code over to the Access Module it doesn't work.
Here is a sample code.
With objWord.ActiveDocument.Bookmarks
.Item(tbm2).Range.Text = txt2
End With
Select.Style = ActiveDocument.Styles("Heading 1")
Hopefully someone can can help me out.
Thanks in advance.
Here is a sample code.
With objWord.ActiveDocument.Bookmarks
.Item(tbm2).Range.Text = txt2
End With
Select.Style = ActiveDocument.Styles("Heading 1")
Hopefully someone can can help me out.
Thanks in advance.