ChangeFileOpenDirectory
- From: "Ed" <nospam@xxxxxxxxxx>
- Date: Wed, 21 Nov 2007 06:00:18 -0500
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)
.
- Follow-Ups:
- Re: ChangeFileOpenDirectory
- From: Helmut Weber
- Re: ChangeFileOpenDirectory
- From: Ed
- Re: ChangeFileOpenDirectory
- Prev by Date: Re: Detect if text is too long to fit in a cell
- Next by Date: Re: document.Merge() gives inconsistent results
- Previous by thread: Re: startup folder problem
- Next by thread: Re: ChangeFileOpenDirectory
- Index(es):
Relevant Pages
|