Hi GreekyGreek,
See the attached modified copy of your file that has the following options:
a. Contracts
b. Revenue
c. Volume
d. Contracts and Revenue
e. Contracts and Volume
f. Revenue and Volume
g. Contracts and Revenue and Volume
Code follows in Ordinary Code Module ModPivotTableSumValues. Change the Items in Red Below as required:
To enable Macros and to Run Macros see the following:
http://office.microsoft.com/en-us/ex...010031071.aspx
http://office.microsoft.com/en-us/ex...010014113.aspx
If help is still needed do a google search for 'youtube excel enable macro' and/or 'youtube excel run macro'.
To access Visual Basic (VBA) see:
http://www.ablebits.com/office-addin...a-macro-excel/
a. Click on any cell in the Excel Spreadsheet (may not be needed).
b. ALT-F11 to get to VBA.
c. CTRL-R to get project explorer (if it isn't already showing).
d. Double Click on a 'Module Name' in 'Project Explorer' to see code for that module.
Lewis
Bookmarks