Pivot Table Shading

tpezzati

New Member
Joined
Mar 9, 2011
Messages
8
Hey everyone,

I created a macro for a workbook that enables me to make a pivot table from a dynamic range. The difficulty I am having is enabling this macro to also properly SHADE and BORDER my pivot table dynamically as the data changes.

I tried just using the format cell feature, but it only applies it to the rows and columns I have selected. Is there something I am missing?

Also I am required to save the macro file to text, is there a "Best" approach to this, I had trouble just copying the code to text and getting it to work.

To check if I can use the macro from text do I just start and record a new macro and paste it in, or is there a different process?

Thank you all ahead of time I appreciate the help!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,224,618
Messages
6,179,917
Members
452,949
Latest member
beartooth91

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