Hello Experts! Help pls. I have below code in my workbook which formats the numbers in my pivot table to 2 decimal places (and no decimal for UK region) and turns zeros into "-". How can i add a line item to change also blanks (not zeros) with "-"? Can i incorporate it below or requires another line item of code? Any help is appreciated. Thanks!
Code:
With pvttblBusiness.PivotFields("Summary of Expenses")
.Orientation = xlDataField
If UCase(RegionSelected) = "UK" And UCase(BusinessName) = "Eng" Then
[B].NumberFormat = "#,##0; -#,##0; -"[/B]
Else
[B] .NumberFormat = "#,##0.00; -#,##0.00; -"[/B]
End If
.Function = xlSum
End With[FONT=Helvetica][SIZE=3][COLOR=#1d2129]
[/COLOR][/SIZE][/FONT]