Browsing for a folder

B

Ben M

Hi,

I want to be able to select a folder only and save the path to a document
variable.

I have no problem doing this in Word XP using
'FileDialog(msoFileDialogFolderPicker)'. My problem is doing it in Word
2000.

Any suggestions. Thanks Ben
 
J

Jonathan West

Ben M said:
Hi,

I want to be able to select a folder only and save the path to a document
variable.

I have no problem doing this in Word XP using
'FileDialog(msoFileDialogFolderPicker)'. My problem is doing it in Word
2000.

Any suggestions. Thanks Ben

This will do the trick for Word 2000

How to allow the user to browse to and select a folder
http://www.word.mvps.org/FAQs/MacrosVBA/BrowsDialog.htm


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 

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