M
Morgan Gartland via AccessMonster.com
I have some code that allows me to open a new word document from a template i
have created (see below). i would like to be able to force the document to
have a specific name and location when the user has finished and wants to
save the document.
Const conTEMPLATE_NAME = "Statement.dot "
Set mobjWordApp = New Word.Application
With mobjWordApp
.Visible = True
.WindowState = wdWindowStateMaximize
.Documents.Add Template:=("S:\Statement .dot")
End With
End Sub
I am using Access 2000 and Word 2003. any help and a detailed explanation (
fairly new to ACCESS VB etc) would be most appreciated.
Morgan
have created (see below). i would like to be able to force the document to
have a specific name and location when the user has finished and wants to
save the document.
Const conTEMPLATE_NAME = "Statement.dot "
Set mobjWordApp = New Word.Application
With mobjWordApp
.Visible = True
.WindowState = wdWindowStateMaximize
.Documents.Add Template:=("S:\Statement .dot")
End With
End Sub
I am using Access 2000 and Word 2003. any help and a detailed explanation (
fairly new to ACCESS VB etc) would be most appreciated.
Morgan