Find Text String in Worksheet, return Cell Referenc

Dukesford

Board Regular
Joined
May 30, 2007
Messages
106
In Cell D11 I have the word "Inlet", however when I run my report it is not always in D11, but that where the word "inlet" appears is the starting point of the data I need. So I need to find where the word Inlet appears on my reports, any ideas with an equation? To be clear, sometimes the word will load in D20, C123, E239432423.
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.

stnkynts

Board Regular
Joined
Oct 7, 2010
Messages
198
Since you didn't say what you want to do with it after you find it here is how to find. You could use a Do/Loop with FindNext to get multiple instances if neccessary.

Code:
Sub FindInlet()
Dim iFind As Range
Set iFind = ActiveSheet.UsedRange.Find(What:="Inlet", LookIn:=xlValues, LookAt:=xlPart)
MsgBox iFind.Address
End Sub
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,029
Messages
5,856,933
Members
431,840
Latest member
simplysoph

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
Top