Forum Discussion

EHX001's avatar
EHX001
Copper Contributor
Sep 16, 2022

VBA - SHOW empty cells as 0 in pivot chart

Anyone an idea on how to programmatically (vba) set "show empty cells as 0" in a vba created pivot chart?

1 Reply

  • EHX001 

    Let's say that the chart object you created has been assigned to the variable cht.

        cht.DisplayBlanksAs = xlZero

Resources