Find String, Identify Cell

BrianExcel

Well-known Member
Joined
Apr 21, 2010
Messages
975
How do I modify the below code to find the cell containing the specific words "Reporting Dates". FYI, the cell I am trying to identify does not JUST contain those words. It also contains a date from and date to range.

Venus Ball Stats (5.25-6.01).xlsx
CDEFGHIJKLMNOPQ
5
6Reporting Dates - 5/25/2020 to 6/1/2020
7
Venus Ball Stats




Set DateRangeBallEdits = Cells.Find(What:="Reporting Dates", After:=ActiveCell, LookIn:=xlValues, LookAt:=xlPart)
 
Last edited:

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I need to identify which cell contains those words so a later bit of code can parse just the date range for a chart title.
 
Upvote 0
Row 6 looks like a merged cell ?
If that's the case you need to look in the leftmost column !
Also look at using the InStr function to search within a given string
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

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