Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to choose 'suppress when value is Null' option in Macro?

Dear all,

I want to choose 'suppress when value is Null' option in Macro. How can I write the code?

In Chart properties->Dimensions->Setting for selected dimension------->'suppress when value is Null'

1 Solution

Accepted Solutions
Not applicable
Author


set chart = ActiveDocument.Activesheet.CreateBarChart
chart.AddDimension "ProductType"
chart.AddExpression "sum(Amount)"
set cp = chart.GetProperties
set dims = cp.Dimensions
dims(0).NullSuppression = false
chart.SetProperties cp

View solution in original post

2 Replies
Not applicable
Author

here , how to choose the option in macro script.?

Not applicable
Author


set chart = ActiveDocument.Activesheet.CreateBarChart
chart.AddDimension "ProductType"
chart.AddExpression "sum(Amount)"
set cp = chart.GetProperties
set dims = cp.Dimensions
dims(0).NullSuppression = false
chart.SetProperties cp