#1
|
|||
|
|||
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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word Visual Basic error - run time error 504 | crazymorton | Word | 11 | 01-13-2012 04:32 AM |
getting div error | accablues | Excel | 9 | 07-27-2011 07:58 PM |
How do I assign a macro to a button when the macro is in my personal workbook? | foolios | Excel Programming | 2 | 07-27-2011 02:41 PM |
Runtime error 5487 - Word cannot complete the save to to file permission error | franferns | Word | 0 | 11-25-2009 05:35 AM |
Receive error cannot open this form because an error occurred in BCM 2007 | bornhusker | Outlook | 0 | 06-01-2009 10:28 AM |