View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
[email protected][_2_] sfielder78@gmail.com[_2_] is offline
external usenet poster
 
Posts: 6
Default Dir for folder name?

I wish to alter a small portion of a text file in relation to the
folder name i.e.

I have a sub that takes a set of prefined files placing them in
folders

Version_0
Version_1 etc etc

Within this set of files is a text file I wish to open in a sub where
the first line is stamped with the folder name i.e. Version_1.

Am I correct in thinking the Dir Function is the area I should be
looking?

Many Thanks

Simon