Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to add and remove expressions from line chart dynamically
Hi,
See the attached sample file how to use dynamic epression it will explain you.
Let me know about this
Rgds
Anand
Trigger the below macros accordingly.
set chart = ActiveDocument.GetSheetObject("CH01")
chart.AddExpression "sum(sales)"
set chart = ActiveDocument.GetSheetObject("CH01")
chart.RemoveExpression "sum(sales)"
Regards,
Kiran.