
List-Box for Files/Directory in Word-VBA
Hi Jan,
There is already a set of free VB ActiveX DLLs which you can use for this
purpose. Go to www.mvps.org/ccrp/ and download the BrowseDialog and
ExtendedFileDialog controls. Follow the instructions for installing and
using them.
If you want the folder list to appear on your main UserForm, instead of in a
separate dialog, you can use the FolderTreeView control (also from CCRP)
instead.
I use the BrowseDialog regularly for selecting a folder, and have found it
to be excellent. I haven't tried the FileDialog or the FolderTreeView, but I
have used other CCRP controls, so I have no hesitation in recommending them.
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
Word FAQs at http://www.multilinker.com/wordfaq
Please post any follow-up in the newsgroup. I do not reply to Word questions
by email
Quote:
>Hello!
>In Word97-VBA there is no List-Box for Files/Directory.
>Only Open-Files, SaveAs and so on.
>I am looking for a neutral Box with my own title and so on whre I can
>select a directory or a file.
>Must I do it by my own or is there already a solution?
>Jan