ccheever2009

New Member
Joined
Jul 30, 2013
Messages
9
I am building a workbook for workers to use, to easily cut/paste a report into, and auto generate the work that has a due date of <!--= today, (macro to sort data, and put into new sheet). I built a pivot table macro, for them to use (work presents easier for task work), but I am not sure where I went wrong, each time I run this prompt appears: <font color="#333333"-->"unable to get the pivot tables property of the worksheet class", when click "debug" this is highlighted: With ActiveSheet.PivotTables("PivotTable(1)").PivotFields("Compliance").

I am new to VBA and do not understand the language, any help would be greatly appreciated.

Thanks

also using Excel 2013
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Apologies- Half the thread was cut out...

I am building a workbook for workers to use, to easily cut/paste a report into, and auto generate the work that has a due date of </= today. I built a macro for a pivot table but am unsure where I went wrong. Each time the macro is run this message appears: "unable to get the pivot tables property of the worksheet class", when I click "debug" this is highlighted: With ActiveSheet.PivotTables("PivotTable(1)").PivotFields("Compliance").

I am new to <acronym title="visual basic for applications" style="border-width: 0px 0px 1px; border-bottom-style: dotted; border-bottom-color: rgb(0, 0, 0); cursor: help;">VBA</acronym> and do not understand the language, any help would be greatly appreciated.

Thanks

also using Excel 2013
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,789
Members
449,188
Latest member
Hoffk036

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