VBA Help: Linking names and highlighting across multiple excel sheets

kdeppe

New Member
Joined
Jul 31, 2011
Messages
5
Hi All,

I'm trying to develop a macro of some sort that will help me sort out a life of names. Here is a run-down of how I envision it working:

You would type a name into Column B of Sheet1. Sheet2 and Sheet3 already has a list of names typed in. If the name entered in Sheet1 matches a name is Sheet2 or Sheet3, then the name on Sheet2 or Sheet3 would be highlighted black.

Also, Column A of Sheet1 would have a list of names already typed in, so the name you type in Column B of Sheet1 would be "linked", for lack of a better word, to Column A. The hope is that the names in Column A of Sheet1 would be in Sheet4, so when a name is entered in Column B of Sheet1, that name would then be generated in Sheet4 adjacent to the name it was "linked" with in Column A of Sheet1.

Example: Sheet1 has "Ben" in cell A1. Sheet2 and Sheet3 have "Brown" in their respective A1 cells. And Sheet4 has "Ben" in cell E3, although this could be any cell. When you type "Brown" into cell B1 of Sheet1, then the A1 cells of Sheet2 and Sheet3 would be highlighted black, and "Brown" would appear in cell E4 of Sheet4.

Does anyone know how to VBA code this? Or have suggestions on any part of it?

Thanks!
Keegan
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,224,521
Messages
6,179,285
Members
452,902
Latest member
Knuddeluff

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