Find and highlight

everblazing

Board Regular
Joined
Sep 18, 2015
Messages
156
I am trying to build a macro which i appreciate any help with..

I have data in sheet 2 which consists of 30 agent Id's.

In sheet 1 different agent Ids are entered in column p. I would like a search box that can match and highlight the Agent number entered, if matching any of the agent Id's in sheet two column C.

An example of this is if agent id entered in search engine on sheet one consist of, CF66657 or 4589 or 84589 it can search the data from sheet two anywhere in column C and highlight it if matching on sheet 1. if no data was matching then come up with a message or any notification to advise no match found just so that i know there were no agen Id's in sheet 1 matching Sheet 2 cllumn C.


Thank you
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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