Macro Error 5174
After recording a macro when I reopen Word 2010 I get the message "Run time errror 5174 Windows system32\HDDDPPR.docx not found " (The doc is still present in my Documents folder) This is the same for all macros recorded. They open OK within the session in which they have been created but not on reopening Word. Help please.
HHDEmail Macro
'
'
Documents.Open FileName:="HDDPPR.docx", ConfirmConversions:=False, _
ReadOnly:=False, AddToRecentFiles:=False, PasswordDocument:="", _
PasswordTemplate:="", Revert:=False, WritePasswordDocument:="", _
WritePasswordTemplate:="", Format:=wdOpenFormatAuto, XMLTransform:=""
Selection.MoveDown Unit:=wdLine, Count:=5
Selection.TypeParagraph
Selection.TypeParagraph
End Sub
Last edited by muster36; 08-12-2011 at 03:49 AM.
Reason: Incomplete info
|