populate a list box with filenames

  • Thread starter Thread starter dovrox
  • Start date Start date
D

dovrox

How would I populate a list box with filenames from a folder so that
can choose a file to process
 
Use

Application.GetOpenFilename

You can specify the folder by using ChDir before the command:

ChDir "C:\Excel\Folder1\Test Folder"
Application.GetOpenFilename

HTH,
Bernie
MS Excel MVP
 

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

Back
Top