S
Steff
I know this is trivial but when I try to save my newly created document, it
says error 424 - Object Required.
Here is my code...
Dim strPacName As String
Dim Count As Long
Dim NewPac As Long
strPacName = InputBox("Equipment Name", "Package Creation", , , ,
"c:\Windows\Help\Procedure Help.chm", 0)
If strPacName = "" Then End
NewPac = Shell("C:\Program Files\Microsoft Office\OFFICE11\winword.exe",
vbMaximizedFocus)
ActiveDocument.SaveAs FileName = strPacName & ".doc"
Any suggestions on why ActiveDocument does not want to save my document?
Any help would be appreciated. Thanks.
says error 424 - Object Required.
Here is my code...
Dim strPacName As String
Dim Count As Long
Dim NewPac As Long
strPacName = InputBox("Equipment Name", "Package Creation", , , ,
"c:\Windows\Help\Procedure Help.chm", 0)
If strPacName = "" Then End
NewPac = Shell("C:\Program Files\Microsoft Office\OFFICE11\winword.exe",
vbMaximizedFocus)
ActiveDocument.SaveAs FileName = strPacName & ".doc"
Any suggestions on why ActiveDocument does not want to save my document?
Any help would be appreciated. Thanks.