Hello,
I recently wrote a bit of code to format a Pivot Table, because every time I changed a Field the formatting changed (I even had the correct boxes check so this would happen , but it did).
Anyway the trouble is the code took ages (for what it was doing). Simple changing borders, alinement, wrap text and formatting to currency.
I managed to omitted the borders from the code by uses of conditional formatting.
My question is: Can you write I code that would automatically change the format in column L to £ currency, aline to xlRight on the horizontal and xlBottom on the vertical.
If so how and where do you put it!
Cheers for any help!
Andrew![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
I recently wrote a bit of code to format a Pivot Table, because every time I changed a Field the formatting changed (I even had the correct boxes check so this would happen , but it did).
Anyway the trouble is the code took ages (for what it was doing). Simple changing borders, alinement, wrap text and formatting to currency.
I managed to omitted the borders from the code by uses of conditional formatting.
My question is: Can you write I code that would automatically change the format in column L to £ currency, aline to xlRight on the horizontal and xlBottom on the vertical.
If so how and where do you put it!
Cheers for any help!
Andrew
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)