Thanks for the replies
SBendBuckeye
I have made the changes you suggusted , and there seems to be no problems with the code when i run the compiler.
The macro works fine, until it is time to save the document in the specified directory.
I receive the following error message. The remote server machine does not exist or is unavailable.
Any ideas as to why this occurs
I have changed the field reference for the file path from Me.txtMyPath to Forms!Main!txtPath. As the command button is not on the same form as the file path feild [txtpath].
Thanks
________________________________________________________
Private Sub Command95_Click()
Dim stDocName As String
stDocName = "goto.signature"
DoCmd.RunMacro stDocName
On Error GoTo Err_Command95_Click
Dim WordObj As Word.Application
Set WordObj = CreateObject("Word.Application"

WordObj.Documents.Open ("\\Linux\Planning\proforma.doc"

WordObj.Visible = True
With WordObj
.ActiveDocument.Bookmarks("Photo"

.Select
.Selection.Paste
.ActiveDocument.MailMerge.Execute
End With
With WordObj
Set WordDoc = .Documents.Open("\\Linux\Planning\proforma.doc"

End With
With WordDoc
.Close SaveChanges:=False
End With
With WordObj
Dim strPath As String
strPath = Replace$(Forms!Main!txtPath.Value & "\", "\\", "\"
ActiveDocument.SaveAs Filename:=strPath & Format(Now, "yyyy-mm-dd"

& "Doc9.doc", FileFormat:=wdFormatDocument, _
LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _
:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
False
End With
Exit_Command95_Click:
Exit Sub
Err_Command95_Click:
MsgBox Err.Description
End Sub
________________________________________________________
Makeitso
The same error message is returned with this code
________________________________________________________
ActiveDocument.SaveAs Filename:=Forms!Main!txtPath & "\" & Format(Now, "yyyy-mm-dd"

& "Doc9.doc", FileFormat:=wdFormatDocument, _
LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _
:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False, _
SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _
False
_________________________________________________________