LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Determine if folder exists

Hello all,
Hoping that there might be some ideas out there to assist me in working
out this little problem. I have a spreadsheet with several columns in
it. One of the columns contains names of what MIGHT be file names
located in a particular directory. Is there any way to walk a directory
based on a preset starting point and determine if the value of a cell
exists as a folder?
IE: a1 = "My_File". Starting point could be my documents. Every folder
under my documents would be compared agaist "My_File" if a match was
found it would return "found" if it reached the end of the structure
after looking at each folder and subfolder and could not find it it
would return "not found". For my purposes I do not need to worry about
possibly finding "My_File" more than once. If I find it once the code
should stop execution.
Any suggestions or just a good solid starting point would be greatly
appreciated.
Thanks Terry

 
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
VBA:: determine if UDF exists? George[_3_] Excel Discussion (Misc queries) 1 May 7th 07 12:57 PM
Determine if a File Exists Connie Excel Discussion (Misc queries) 1 November 8th 06 09:11 AM
how to check if folder exists funkymonkUK[_76_] Excel Programming 3 October 14th 05 12:03 PM
Create folder if it does not exists Bob Excel Programming 3 April 20th 05 03:33 PM
Test if a folder exists Jeff Marshall Excel Programming 6 September 30th 03 05:21 PM


All times are GMT +1. The time now is 07:17 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"