![]() |
|
||||||
| Register | Forum Rules | Getting Started! - Guide | Blog | Videos | Gallery | Members List |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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. |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
< Windows Help - MS Office Help - Hardware Support >
| New To Site? | Need Help? |