|
| |||
| 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 |
| |||
| 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 > |
| |||
| 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. |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| 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? |