Technology Questions

Go Back   Technology Questions > Software Questions > General Questions > Microsoft Office

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 11-04-2009, 05:00 PM
Lisa
Newsgroup Contributor
 
Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 11-04-2009, 05:00 PM
  #2 (permalink)  
Old 11-04-2009, 07:40 PM
DL
Newsgroup Contributor
 
Posts: n/a
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
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 11-05-2009, 10:00 AM
Steve Rindsberg
Newsgroup Contributor
 
Posts: n/a
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.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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-29-2009 08:00 PM
Run time error Annie Internet Explorer 0 03-29-2009 05:56 AM
Run time error Lula Windows XP 6 03-24-2009 10:31 PM
Run-time error '50003': Unexpected error skaizun Windows Vista 2 03-24-2009 07:35 AM
Script Error While Loading Web page Then Run Time Error Mooner Windows XP 2 12-16-2007 03:30 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 01:25 PM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0