Using a reference table to cycle through a pivot table

Duchesssix

New Member
Joined
Jan 6, 2011
Messages
42
I am looking for some direction in how to use a reference table (containing names) to cycle through an existing pivot table and changing the color of the row for names that are found in the reference table.

Currently I have a mind block in how to accomplish this effieciently. Currently I use a CASE statement but the use of a reference table is more dynamic for personnel changes. Names can be added/removed as needed where as a CASE statement is hard-coded and requires the programmer to change.

I am currently using EXcel 2010 VBA.

Any push in the right direction will be greatly appreciated.

Thanks,
Dawn
 

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,141,847
Messages
5,708,959
Members
421,601
Latest member
Garlo

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