ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Obtain folder names in a excel sheet (https://www.excelbanter.com/excel-programming/360698-obtain-folder-names-excel-sheet.html)

furbiuzzu

Obtain folder names in a excel sheet
 
Hi all,

i've to write a VB excel macro able to create a list (inside an excel
sheet) of specific folders contained in a bigger one.

i.e.

the "source folder" contains other ones named:

Data1
Data2
xml 05.05.06
xml 04.05.06
xml 03.05.06
.......
........

i would like to obtain just :

05.05.06
04.05.06
03.05.06

in some excel sheet cells

thanks in advance


Brian Taylor

Obtain folder names in a excel sheet
 
Check out this thread that shows examples of using the file system
object:

http://groups.google.com/group/micro...1fa4e9b1c25dcc

You could pretty easily put a line in that says to look for "xml" at
the beginning of the folder name.



All times are GMT +1. The time now is 08:53 AM.

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