Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-12-2012, 10:06 AM
muster36 muster36 is offline Macro errors Windows 7 64bit Macro errors Office 2010 32bit
Novice
Macro errors
 
Join Date: Aug 2011
Posts: 23
muster36 is on a distinguished road
Default Macro errors

1. When first compiled and then run a macro called, say, "HDD" runs OK. Next time I try to run it I get message that file C:windows\system32\HDD.docx cannot be found - but the path is E:\DOCUMENTS\HDD.docx and this shows as the path when I "step into" the macro.
Other Macros with the same path to E:\DOCUMENTS\*.docx run without problem. and looking at the Macro instructions for all these macros the "instructions" appear identical with only the actual name of the file being different



2.Another problem which is occuring frequently is when I run eg macro to open file E:\DOCUMENTS\ABC.docx and then close the Document if I next try to run Macro to open file E:\DOCUMENTS\xyz.docx I get the message "file E:\DOCUMENTS\ABC\xyz.docx cannot be found - which of course it cannot find -as the path to "xyz" is not via file "ABC"!
Very confused

Can anyone help,please?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors in Outlook.pst Rik_StHelens Outlook 0 12-20-2010 09:40 AM
Strange errors omirza Excel 0 02-05-2010 01:30 PM
Macro errors Encryption XOR - any errors??? Word Doc Word 1 10-08-2009 12:57 AM
COM Automation Errors ivanm Word 0 03-23-2009 07:02 PM
How do you fix ost in use errors? enviroko Outlook 0 10-23-2008 09:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:38 AM.


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