×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

File folders

File folders

File folders

(OP)
Is there anyway to get folders' name and file name into spreadsheet automaticly? like this.

MyDoc
  Pics
    Colleagues
      Remond.jpg
      Steve.jpg
    Family
    Friends
  Memos
    Kids
    Lucy
Business
  Meeting

There may be a file in Windows System, but I don't know which one.

RE: File folders

You're going to have to write a macro for that.  Before I go any further, what is your comfort level with writing VBA macros?

RE: File folders

(OP)
Clyde38, Thanks for your chart.
handleman, I just can use VBA to write some functions which I can not get it from Excel. I don't know much about VBA. I made one like this:

Public Function VSearch(index1 As Variant, ar1 As Range, col1, col2 As Integer) As Variant

 'to improve function of Vlookup, can search the other column - col1 is the column you want to search
 
 t = 1
 rows1 = ar1.Rows.Count
 
LineBack:
 If t = rows1 + 1 Then
  VSearch = "#N/A"
  GoTo LineOut
 Else: End If
 
 If index1 = ar1(t, col1) Then
  VSearch = ar1(t, col2)
 Else
  t = t + 1
  GoTo LineBack
 End If
 
LineOut:
  
End Function

RE: File folders

Robert, your welcome.  But I'm not sure you looked at what I suggested.  It's not a chart.  The "List and Print Excel Files" spreadsheet is just part of the index for Jon's Excel and Charting Pages.  The spreadsheet will list and print more than just Excel files (all files).

RE: File folders

(OP)
Forget to say, IRstuff, Thanks

Anyhow, thanks guys, I will try more.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources