I understand this is probably a bit of an ask or if it is actually possible, but here goes.
Could somebody please help a bit here, I don’t even know how to start to build this code.
What I would like to achieve is to search in folder W:\1WORKS MANAGERS FILES\WIS FILES DEAD and all subfolders within that folder for a text string in Cell B3. (Which is a drawing number). This can appear as a PDF drawing name, file name or on excel or word documents within the folders being searched)
W:\1WORKS MANAGERS FILES\WIS FILES DEAD has 300+ folders each of these has several subfolders within them.
W:\1WORKS MANAGERS FILES\WIS FILES DEAD
12345 Folder 1
---------Correspondence
---------------Subfolder 1
---------------Subfolder 2
--------------------Sub-Subfolder3 …etc
----------Drawings
---------------Subfolder 1
---------Quotes
---------------Subfolder 1
---------Layout photos
---------Cost sheet
---------Etc
12346 Folder 2
12347 Folder 3
What I am trying to achieve is for the code to search for the drawing number in “B3” then list the parent folders within W:\1WORKS MANAGERS FILES\WIS FILES DEAD
If the code finds the required drawing number in “Subfolder 1” as below
12345 Folder 1
------Correspondence
---------Subfolder 1
Then it should list “12345 Folder 1” on my sheet.
Please note this drawing number will appear in several folders & I would like to list them all.
I need to get these file names on an excel sheet so I can then check if they are listed on another excel document.
This is probably going to be beyond my skill level but would like to give it a try, any help at all would be gratefully received.
Could somebody please help a bit here, I don’t even know how to start to build this code.
What I would like to achieve is to search in folder W:\1WORKS MANAGERS FILES\WIS FILES DEAD and all subfolders within that folder for a text string in Cell B3. (Which is a drawing number). This can appear as a PDF drawing name, file name or on excel or word documents within the folders being searched)
W:\1WORKS MANAGERS FILES\WIS FILES DEAD has 300+ folders each of these has several subfolders within them.
W:\1WORKS MANAGERS FILES\WIS FILES DEAD
12345 Folder 1
---------Correspondence
---------------Subfolder 1
---------------Subfolder 2
--------------------Sub-Subfolder3 …etc
----------Drawings
---------------Subfolder 1
---------Quotes
---------------Subfolder 1
---------Layout photos
---------Cost sheet
---------Etc
12346 Folder 2
12347 Folder 3
What I am trying to achieve is for the code to search for the drawing number in “B3” then list the parent folders within W:\1WORKS MANAGERS FILES\WIS FILES DEAD
If the code finds the required drawing number in “Subfolder 1” as below
12345 Folder 1
------Correspondence
---------Subfolder 1
Then it should list “12345 Folder 1” on my sheet.
Please note this drawing number will appear in several folders & I would like to list them all.
I need to get these file names on an excel sheet so I can then check if they are listed on another excel document.
This is probably going to be beyond my skill level but would like to give it a try, any help at all would be gratefully received.