ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pivot Page Items! (https://www.excelbanter.com/excel-programming/358234-pivot-page-items.html)

Sharon

Pivot Page Items!
 
Hi, yes me again!! I have 15 sheets, each with a pivot table on. I have a
piece of code that allows a user to select a page item from a menu and the
code runs around and sets the page item. However, if the item doesn't exist
in one of the pivots it gives me an error message even though I have an error
hander? Am I missing something here? (well obviously I am!!). Any help
would be much appreciated.
--
Sharon

Tom Ogilvy

Pivot Page Items!
 
have your code check what items it does have in that field before you try to
set it to something the field does not have.

--
Regards,
Tom Ogilvy


"Sharon" wrote:

Hi, yes me again!! I have 15 sheets, each with a pivot table on. I have a
piece of code that allows a user to select a page item from a menu and the
code runs around and sets the page item. However, if the item doesn't exist
in one of the pivots it gives me an error message even though I have an error
hander? Am I missing something here? (well obviously I am!!). Any help
would be much appreciated.
--
Sharon



All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com