T
TRM
I don't even know how to search on this one! I'm quite confused. Following
is a code snippit. It has opened a template and updated some doc variables
and name then saves it. The template contains a picture. When I insert the
"oDoc.SaveAs strDocName"... word opens up to a window for editing the picture
(on top), and a window for the new doc. Prior to adding the save, only one
window would open and it was for the new doc. HELP!! Thanks!
With oApp
.Options.DefaultFilePath(wdDocumentsPath) = ROOT_PATH & strSavDir
.Selection.Goto wdGoToBookmark, Name:="WrittenBy"
.Selection.Text = Author
.Selection.Goto wdGoToBookmark, Name:="StartHere"
oDoc.SaveAs strDocName
.Visible = True
End With
is a code snippit. It has opened a template and updated some doc variables
and name then saves it. The template contains a picture. When I insert the
"oDoc.SaveAs strDocName"... word opens up to a window for editing the picture
(on top), and a window for the new doc. Prior to adding the save, only one
window would open and it was for the new doc. HELP!! Thanks!
With oApp
.Options.DefaultFilePath(wdDocumentsPath) = ROOT_PATH & strSavDir
.Selection.Goto wdGoToBookmark, Name:="WrittenBy"
.Selection.Text = Author
.Selection.Goto wdGoToBookmark, Name:="StartHere"
oDoc.SaveAs strDocName
.Visible = True
End With