Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 52
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a macro to include file names in a folder to excel sheet anil Excel Discussion (Misc queries) 0 March 12th 07 09:10 AM
how to obtain sheet name? Khoshravan Excel Discussion (Misc queries) 7 May 22nd 06 01:32 AM
Can I insert a file or folder names in Excel cells? Inserting file or folder names in cells. Excel Discussion (Misc queries) 1 October 6th 05 11:30 PM
VBA macro to obtain file names using WIN32 API Mudd[_2_] Excel Programming 3 September 5th 04 12:17 AM
Change names of files in a folder to match names in Excel Column saybut Excel Programming 4 February 9th 04 06:26 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"