Matthew Recknagel

New Member
Joined
Nov 2, 2011
Messages
13
Alright i have a term i want to search say "Large Dog"
I have a list of about 200 rows of files (located in a few main folders on my computer) that i want to search through each of the text strings.
Is there a way that i can search through the entire list and have the formula return return a count of how many files have "Large Dog" in them

Optional: I know for a fact that the files that have persay "Large Dog" in them all reside in the same folder, is there a way to return the count of how many files there are with a hyperlink to that folder?

Thanks so much in advance, will respond if any additional details are needed!
Matt
 
This code will generate a hyperlink to each folder listed in column A of the activesheet. Warning: it will first delete all hyperlinks on the active sheet.
Code:
Sub CreateColumnAHyperlinks()
    Dim lX As Long
    Dim lLastDataRow As Long
 
    For lX = ActiveSheet.Hyperlinks.Count To 1 Step -1
        ActiveSheet.Hyperlinks(lX).Delete
    Next
 
    lLastDataRow = Cells(Rows.Count, 1).End(xlUp).Row
 
    For lX = 2 To lLastDataRow
        ActiveSheet.Hyperlinks.Add Anchor:=Cells(lX, 1), Address:=Cells(lX, 1).Value, _
        TextToDisplay:=Cells(lX, 1).Value
    Next
End Sub
 
Upvote 0

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Thanks for all your help! I really appreciate it! I will have to give your code a try here soon, (New assignment has come to me) and will give it a try afterwards! will let you know when i do.

Thanks again!
Matt
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,941
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top