View Single Post
 
Old 08-12-2011, 03:34 AM
muster36 muster36 is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Aug 2011
Posts: 23
muster36 is on a distinguished road
Default 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
Reply With Quote