View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
riggi riggi is offline
external usenet poster
 
Posts: 17
Default Saving txt file from excel by specifying path - drop down directory explorer

Hi,
I am trying a save a txt file generated by excel to a folder in C
drive. I know how to save the file by writing the path. But, I was
wondering is it possible to see a drop down menu to select the
location(directory) and then giving the filename.

presently I am using this code to save a txt file....

Dim filename As Object
Set filename = Sheet1.Range("G79")

Open filename For Output As #1


I want to add a dropdown menu for the user to select the directory and
drive he wants to save his file in.

Please Help!!1

Thanks,

Rumeet