L
Len Robichaud
I am trying to automate a Word document from Access. My vba code works to
open the doc from a template and pass data to populate all of the bookmarks
with the appropriate text (using selection).
I want some of the data I pass to appear in multiple locations (Mystring1 to
the header, paragraph 1, etc.). It appears that each bookmark can only
reference one location. I could say Bookmark1 = Mystring1, Bookmark7 =
Mystring1, Bookmark12 = Mystring1 but that seems inefficient.
How can I pass data that will auto-fill multiple locations with a single
string with a single command? I know I can create a merge field but I don't
want to bind the document to a data source.
open the doc from a template and pass data to populate all of the bookmarks
with the appropriate text (using selection).
I want some of the data I pass to appear in multiple locations (Mystring1 to
the header, paragraph 1, etc.). It appears that each bookmark can only
reference one location. I could say Bookmark1 = Mystring1, Bookmark7 =
Mystring1, Bookmark12 = Mystring1 but that seems inefficient.
How can I pass data that will auto-fill multiple locations with a single
string with a single command? I know I can create a merge field but I don't
want to bind the document to a data source.