Hi,
I have a data that is run through a macro to create a pivot table.
In the pivot table I have variables in the daily data that I want to remove, however if the variables are not present in the daily data, then I receive this error:
Run-time error '1004':
Unable to get the PivotItems property of the PivotField class
--
.PivotItems("NOT READY").Visible = False
How do I formula this line to filter the variable if present.
Thanks in advance
I have a data that is run through a macro to create a pivot table.
In the pivot table I have variables in the daily data that I want to remove, however if the variables are not present in the daily data, then I receive this error:
Run-time error '1004':
Unable to get the PivotItems property of the PivotField class
--
.PivotItems("NOT READY").Visible = False
How do I formula this line to filter the variable if present.
Thanks in advance