VBA Codes does not work as shown in Help for Word 2004

M

Mitchbvi

I need to change the directory that opens when I use
Dialogs(wdDialogsFileOpen).Show or the similar command to save.
Unfortunately the command
ChangeFileOpenDirectory "Macintosh HD:Users:Mitch:"
does not work. I have tied the same command in a Windows version of
word (with the appropriate path separators) and it works there.

This is what help says.

This example changes the the folder in which Word searches for
documents, and then displays the Open dialog box.
ChangeFileOpenDirectory "Macintosh HD:Users:Shared:"
Dialogs(wdDialogFileOpen).Show.

Just in case it was my desktop an iMac 24" I tried it on my laptop
same problem.

Any suggestions very much appreciated.

Thanks

Mitch
 
J

Jim Gordon Mac MVP

Mitchbvi said:
I need to change the directory that opens when I use
Dialogs(wdDialogsFileOpen).Show or the similar command to save.
Unfortunately the command
ChangeFileOpenDirectory "Macintosh HD:Users:Mitch:"
does not work. I have tied the same command in a Windows version of
word (with the appropriate path separators) and it works there.

This is what help says.

This example changes the the folder in which Word searches for
documents, and then displays the Open dialog box.
ChangeFileOpenDirectory "Macintosh HD:Users:Shared:"
Dialogs(wdDialogFileOpen).Show.

Just in case it was my desktop an iMac 24" I tried it on my laptop
same problem.

Any suggestions very much appreciated.

Thanks

Mitch

Hi Mitch,

When I tried, Word displayed the File Open dialog box but ignored my
instruction to open a particular folder, so I think it's a bug.

Use Word's Help menu and choose Send Feedback to Microsoft to report the
problem and explain it as you have done here. This forum is for users to
tell things to each other, but it doesn't get read by Microsoft people
very often, so use the send feedback feature.

I'll do what I can to bring this to Microsoft's attention.

-Jim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top