Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2011, 03:34 AM
muster36 muster36 is offline Macro Error 5174 Windows 7 64bit Macro Error 5174 Office 2010 32bit
Novice
Macro Error 5174
 
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
Reply



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

Other Forums: Access Forums

All times are GMT -7. The time now is 11:50 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft