How to determine if pivot table is empty by using vba?
Apr 8th 2016 #2 Re: Is pivot table empty?Check the item count for a named field. Code PivotTables(1).PivotFields("FieldName").PivotItems.Count You will need error handling as an error will be thrown if none.
Apr 11th 2016 #3 Re: Is pivot table empty?What kind of error should I get? My pivot is named "Tabela przestawna4" should I change the script with that name?