Hello,
Is it possible to not use the intern mailmerge function.
What i try to get is the following:
When i press a button on a form it has to export the data from access (only that form) to word (with an *.dot file)
But i don't want to use the bookmark function in word.
what i try to do is make a text in word with $id$ text (example)
How can i write a VBA script that changes the $id$ text in word (More than once!)
example worddoc (dot):
as you can see in the example text above i want to change $id$ and $name$ with dynamically text from the opened form in access.
If i find this function i can write the whole letter with simple $$ signs when i want text exported from access.
than as last it has to save the opened dot as a doc with the current id as filename.
Someone that knows how to handle this? thanks in advance.
(at the moment i'm working with a bookmark function in word, but it seems to be impossible to get a bookmark more than once in a word doc.)
Is it possible to not use the intern mailmerge function.
What i try to get is the following:
When i press a button on a form it has to export the data from access (only that form) to word (with an *.dot file)
But i don't want to use the bookmark function in word.
what i try to do is make a text in word with $id$ text (example)
How can i write a VBA script that changes the $id$ text in word (More than once!)
example worddoc (dot):
Code:
our id= $id$
hello $name$, we received you're mail and orderd it under id: $id$
as you can see in the example text above i want to change $id$ and $name$ with dynamically text from the opened form in access.
If i find this function i can write the whole letter with simple $$ signs when i want text exported from access.
than as last it has to save the opened dot as a doc with the current id as filename.
Someone that knows how to handle this? thanks in advance.
(at the moment i'm working with a bookmark function in word, but it seems to be impossible to get a bookmark more than once in a word doc.)