Hi
Is it possible to revmove "all' option in the pivot table drop down list ?
THX
Hi
Is it possible to revmove "all' option in the pivot table drop down list ?
THX
Hi,
Not sure what you mean by "All"
If your trying to protect the pivot thislink might help
http://www.contextures.com/xlPivot12.html#Disable
VBA Noob
_________________________________________
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Attached is the print screen what I mean by "All" option. I have a pivot report and don't want user to have option to pick "all" in the drop down list.
THX
The link I provided should sort you out then
VBA Noob
will it allow user to pick other option on the list ? I am new at this, where should I insert the code ?
Hi,
You can prevent user from selecting "All" as a choice, with an event macro ...
Go to the worksheet tabPlease Login or Register to view this content.
Right click
Select view code
Copy code
HTH
Carim
I am new at this. I got an error message. See attached print screen. What did I do wrong ?
THX
Hi,
Only two possibilities ...
1. The sheet in which you copy the code does not have a pivot table ...
2. More probably, the pivot table name is wrong
Place your cursor in any cell of the pivot table
Right click
Select Table Options
Adjust the Name to PivotTable1 ...
HTH
Carim
I couldn't get it work. I applied the code to the attached sample but can not get it work. Can you try ?
THX
Hi,
Try this mod on Carim's code
VBA NoobPlease Login or Register to view this content.
I tried it on the attached sample but could not get it to work. Did I do something wrong ?
Hi,
Code goes into sheet with Pivot. As you added a new pivot it's in the wrong sheet. Select the tab "Sheet2 (2)" and then right click and add code
VBA Noob
VBA Noob ... Thanks for your help ...
Attached is corrected worksheet ...
HTH
Carim
Carim,
It didn't work for me until I went into sheet 3.... very strange. Working now on both sheets
VBA Noob
VBA Noob,
Since it is a worksheet_calculate event with a pivot table, at least with XL2000, it requires either a change in the pivot table for calculate to be triggered, or adding (in any cell within the worksheet) a volatile function such as Now() or Today() and F9 ...again to fire calculate ...
HTH
Carim
Carim,
I was changing the pivot table which should of triggered the change event.
It didn't update until I changed sheets which I thought was strange
VBA Noob
Quite strange indeed ...
Because it is working fine with XL2000 ...
...wonder if I really want to upgrade ... lol ... one of these days ...
Cheers
Carim
Maybe Santa will be good to you.
.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks