Hi,
I have the following code to create a pivot table. I want to hide the grand total for rows in the pivot. Can somebody please help m with the code?
ThanksPlease Login or Register to view this content.
Hi,
I have the following code to create a pivot table. I want to hide the grand total for rows in the pivot. Can somebody please help m with the code?
ThanksPlease Login or Register to view this content.
Last edited by Cutter; 08-24-2012 at 02:08 PM. Reason: Added code tags
Hi Anjana,
Welcome in Excel Forum.
Use below code in your macro. You need to modify the the pivot table name in your code.
Please Login or Register to view this content.
I tried that...Its not working!
Hi,
Please show me the rectified code. Also let us know where the code is breaking?
Bolded the part where the code is breaking..Please Login or Register to view this content.
Thak You!
---------- Post added at 12:41 PM ---------- Previous post was at 12:40 PM ----------
I used
.RowGrand = False
Was trying out something else and copied that in my previous post.
Last edited by Cutter; 08-24-2012 at 02:07 PM. Reason: Added code tags
@ Anjana1811
Welcome to the forum.
Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
Thanks.
Hi Anjana,
I think "ObjTable" is not the name of Pivot table. After creating the pivot table chekc the name and let us know.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks