G
Geoff
There was a post from a few years ago asking how to do this, to which the
following response was given.
I tried to do this with a module within a macro-enabled Word 2007 template,
but I get an error telling me "the requested member of the collection does
not exist".
If I go to the locals window, ActiveDocument isn't even there. Sorry, my
VisualBasic is a lot stronger within Access. But if I am running the code
from an open template with data, how can there not be an active document?
TIA
following response was given.
Doug Robbins - Word MVP said:With ActiveDocument
.SaveAs "SW_COA_" & .Formfields("Text2").Result & "_johnson.doc"
End With
I tried to do this with a module within a macro-enabled Word 2007 template,
but I get an error telling me "the requested member of the collection does
not exist".
If I go to the locals window, ActiveDocument isn't even there. Sorry, my
VisualBasic is a lot stronger within Access. But if I am running the code
from an open template with data, how can there not be an active document?
TIA