MatchCase in find function

vbaNewby

Board Regular
Joined
Jan 26, 2011
Messages
138
Hello,

What is the matchCase parameter in the find function?

Does it mean that it only finds EXACT matches. So say my cell is "hello"

If matchCase = true

then will it pick up:

"hello world"
"world hello"

or just

"hello"

Thanks in advance.
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
From the help file:
MatchCase Optional Variant True to make the search case sensitive. The default value is False.


If MatchCase were set to TRUE, and you were searching for hello, it would not match HELLO because that is in upper case (it does not match case), nor it would it match Hello (not all lower case)
 
Upvote 0
From the help file:



If MatchCase were set to TRUE, and you were searching for hello, it would not match HELLO because that is in upper case (it does not match case), nor it would it match Hello (not all lower case)
Thanks HOTPEPPER, so how can I use the find function to find exact matches "hello" and NOT "hello world"

????
 
Upvote 0
From the help file:



If MatchCase were set to TRUE, and you were searching for hello, it would not match HELLO because that is in upper case (it does not match case), nor it would it match Hello (not all lower case)


Is it this???:


LookAt:=xlWhole</pre>
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,337
Members
452,907
Latest member
Roland Deschain

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