Userform for Viewing file Directory

  • Thread starter Thread starter Balute
  • Start date Start date
B

Balute

Trying to create the following userform:

Listbox1: view file directory. Trying to locate text files
Listbox2: view list of text files. Need to select one.
Listbox3: view data in text file selected
Button1: will initiate the import dialog box for selected file.

Thanks for any help.
 
Have a look at the Dir function in VB Editor Help. You will have to us
this to recover file names with suffix .txt and use the Add method t
add them to your text box.

You cannot view the contents of a file without opening it
 
Back
Top