VBA - trying to find cell in range

cmefly

Well-known Member
Joined
May 13, 2003
Messages
683
Hi,

I'm trying to find a cell in range("A1:I50") and trying to report back the column numbers

is this possible.....??

thanks,

marc
 

Some videos you may like

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

cmefly

Well-known Member
Joined
May 13, 2003
Messages
683
sheet 1 contains the range

sheet 2, cell A1 contains the text that i'm looking for - i'm looking for the entire cell...

does this help?
 

jmthompson

Well-known Member
Joined
Mar 31, 2008
Messages
966
Is it possible that there would be more than one match?

Where do you want the column number published?
 

cmefly

Well-known Member
Joined
May 13, 2003
Messages
683

ADVERTISEMENT

no, not more than one match.

just assign it to a variable...
 

cmefly

Well-known Member
Joined
May 13, 2003
Messages
683
can someone please take a stab at this...? much appreciated.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,418
Messages
5,596,028
Members
414,039
Latest member
southike

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