E
Ed
I have installations of the identical VBA program on 20 different computers.
I use the following command with some frequency.
ChangeFileOpenDirectory newpath
With Dialogs(wdDialogFileOpen)
.name = "*.doc"
CloseNum = .Show
End With
The command works perfectly on 19. One the 20th it refuses to work. The
MyDocuments folder consistently opens when the section of code is
encountered.
I have doubled the "ChangeFileOpenDirectory newpath" command (I found that
suggestion on a board) but that doesn't work either.
When I step through (debugging) the vba code it works fine, so I know that
the connections are intact.
Any thoughts?
Ed (in Virginia)
I use the following command with some frequency.
ChangeFileOpenDirectory newpath
With Dialogs(wdDialogFileOpen)
.name = "*.doc"
CloseNum = .Show
End With
The command works perfectly on 19. One the 20th it refuses to work. The
MyDocuments folder consistently opens when the section of code is
encountered.
I have doubled the "ChangeFileOpenDirectory newpath" command (I found that
suggestion on a board) but that doesn't work either.
When I step through (debugging) the vba code it works fine, so I know that
the connections are intact.
Any thoughts?
Ed (in Virginia)