HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Microsoft Office

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 11-05-2009, 12:56 AM
Lisa
Guest
 
Posts: n/a
Default Run time error 75

Hi,

I have Word 2007 on Vista. I have a macro which is running fine on Word
2003/2000. I imported it to Word 2007, it doesn't work. I got Visual Basic
error message: "Run time error '75', path/file access error". I clicked
debug button, it shows the following line has problem.

Open filename For Output As #1 ' Open file for output.

Not familiar with Visual Basic code. Need help!!!

Any help will be highly appreciated!

Thanks in advance!

Lisa

Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 11-05-2009, 03:33 AM
DL
Guest
 
Posts: n/a
Default Re: Run time error 75

In Word 2007 open/view your macro and modify it as required
http://office.microsoft.com/en-us/wo...997691033.aspx

"Lisa" <Lisa@discussions.microsoft.com> wrote in message
news:3644DE49-1A60-415D-BADC-2A1B6E1543A5@microsoft.com...
> Hi,
>
> I have Word 2007 on Vista. I have a macro which is running fine on Word
> 2003/2000. I imported it to Word 2007, it doesn't work. I got Visual Basic
> error message: "Run time error '75', path/file access error". I clicked
> debug button, it shows the following line has problem.
>
> Open filename For Output As #1 ' Open file for output.
>
> Not familiar with Visual Basic code. Need help!!!
>
> Any help will be highly appreciated!
>
> Thanks in advance!
>
> Lisa
>



Reply With Quote
  #3  
Old 11-05-2009, 06:01 PM
Steve Rindsberg
Guest
 
Posts: n/a
Default Re: Run time error 75

In article <3644DE49-1A60-415D-BADC-2A1B6E1543A5@microsoft.com>, Lisa wrote:
> Hi,
>
> I have Word 2007 on Vista. I have a macro which is running fine on Word
> 2003/2000. I imported it to Word 2007, it doesn't work. I got Visual Basic
> error message: "Run time error '75', path/file access error". I clicked
> debug button, it shows the following line has problem.
>
> Open filename For Output As #1 ' Open file for output.
>
> Not familiar with Visual Basic code. Need help!!!


This line of code is trying to open the file named in the variable "filename"
in order to write something to the file.

Either the path to the file doesn't exist or you don't have permissions to
write to the file.

If you hover your cursor over the word "filename" in that line, you'll see
the name of the file it's trying to write to.



Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error "System error 5 has occurred" trying to set the system time using NET TIME on XP Spin Windows XP 3 05-30-2009 03:52 AM
Run-time error '50003': Unexpected error skaizun Windows Vista 2 03-15-2009 04:06 PM
Difference between Windows Time Service and Internet Time in Date & Time Properties Saucer Man Windows XP 0 02-14-2008 01:51 PM
Script Error While Loading Web page Then Run Time Error Mooner Windows XP 1 12-16-2007 01:04 AM
run-time error '5' zep1123 Windows XP 3 09-23-2007 04:19 PM


All times are GMT. The time now is 08:57 PM.


Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger