Hi all,
I'm looking for help to create Macro to open contents in folder and search for the word "troubleshoot" in each file. The folder contains 287; having to open all the files is time consuming.
Thanks in advance.
Hi all,
I'm looking for help to create Macro to open contents in folder and search for the word "troubleshoot" in each file. The folder contains 287; having to open all the files is time consuming.
Thanks in advance.
So this macro will open all files in a folder:
but I don't know what you want the code to do WHEN/IF it finds troubleshoot anywhere. What are you wanting at that point?![]()
Please Login or Register to view this content.
Also is there a set number of sheets in each file, do they have only one sheet or multiple variable worksheets?
Last edited by mikeTRON; 07-11-2014 at 12:38 PM.
Please ensure you mark your thread as Solved once it is. Click here to see how.
If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.
This will open all folders and search each cell in columns A:IV for the word troubleshoot however exactly what miektron said what do you want it to do when you find the word?
![]()
Please Login or Register to view this content.
Thank those who have helped you by clicking the Star * below their name and please mark your post [SOLVED] if it has been answered satisfactorily.
Thanks guys!
After finding the files that contain the word "troubleshoot", I'd like to add the contents in Cell E23 into a new workbook/the workbook that contain the Macro(above).
Thanks again.
Does troubleshoot always fall in ONE particular cell?
Are there multiple sheets in each workbook?
What else can you tell us to help fine tune this thing?
Can you post a sample dataset to illustrate what you are wanting?
Troubleshoot would be in a merge cell/cells, C38:T41 or C42:T45 or C46:T49 or C50:T53.
There are multiple sheets in each workbook. Sheet names are WO1, WO2 and WO3.
This checks all sheets in all files in a folder and puts the file names and cell addresses in a range.
The workbook with this code in it should not be in the same folder.
You can add the line to copy E23 into your workbook![]()
Please Login or Register to view this content.
Sorry, it checks the first column only.
You can change
to this![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Last edited by jolivanes; 07-11-2014 at 01:35 PM. Reason: Add info
Ahh I must have been slow to respond, but mine is very similar to the above.
AllFilesOpen.xlsb
Thanks a lot, I really appreciate the help.
Works Great!
If it is solved can you mark it as such?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks