ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Dir for folder name? (https://www.excelbanter.com/excel-programming/395453-dir-folder-name.html)

[email protected][_2_]

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



All times are GMT +1. The time now is 12:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com