Select Folder dialog in Word 2000 
Author Message
 Select Folder dialog in Word 2000

Hi all,
I want to have my Word macro execute a dialog, which allows the user to
select a folder. Word has a built-in dialog (wdDialogFileOpen), which nearly
does the job, except that it returns a file instead of a folder. Does anyone
know how to invoke a SelectFolder dialog, more or less like the one you get,
when you chooose Modify in the Tools/Options/FileLocations dialog ? Or do I
have to build one myself ?

Any help would be appreciated, Lars



Fri, 19 Sep 2003 19:10:44 GMT  
 Select Folder dialog in Word 2000
Thanks,

I will try it out soon.

Lars.



Tue, 23 Sep 2003 15:37:12 GMT  
 Select Folder dialog in Word 2000
Hi Marco,

I tried it out, but it failed because my system does not have any files
called Convert8.dll. Where do I get the DLL?

Lars



Tue, 23 Sep 2003 19:23:57 GMT  
 Select Folder dialog in Word 2000
Hej Lars

This piece of code was posted by Jonathan West in word97vba a couple of days
ago:

With Dialogs(wdDialogCopyFile)
   If .Display() = -1 Then
      MsgBox .Directory
   End If
End With

--
/Anna Bohman
Bra Utbildning AB, Sweden

-------------------------------------------------------------------------



Quote:
> Hi all,
> I want to have my Word macro execute a dialog, which allows the user to
> select a folder. Word has a built-in dialog (wdDialogFileOpen), which
nearly
> does the job, except that it returns a file instead of a folder. Does
anyone
> know how to invoke a SelectFolder dialog, more or less like the one you
get,
> when you chooose Modify in the Tools/Options/FileLocations dialog ? Or do
I
> have to build one myself ?

> Any help would be appreciated, Lars



Tue, 23 Sep 2003 22:27:41 GMT  
 Select Folder dialog in Word 2000
Thank you,

this is really easy and does the job, even if the title displays "Copy", but
I can live with that.

Lars.



Mon, 06 Oct 2003 20:48:06 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Folder Open Dialog - How to pre-select folder

2. file dialog select macro in 2000

3. Moving folders from one network drive to another in Word 2000 VBA

4. Moving folders from within a VBA macro in Word 2000

5. Word 2000: Dialogs(wdDialogFormatFont)

6. word 2000 dialog box problem

7. Retrieving path information from Word 2000 SaveAs Dialog

8. Druck Dialog bei Serienbrief mit Word 2000

9. How to use the built-in-dialogs in word 2000

10. word 2000 dialog boxes

11. Word 2000 dialog flakiness

12. Word 2000 -- New Template Dialog

 

 
Powered by phpBB® Forum Software