Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to make the macro code into C# when using OCX?

Hi,

I use macro show the chart line,
macro:
set myobj = ActiveDocument.GetSheetObject("CH241")
prop = myobj.GetProperties
set expr = prop.Expressions.Item(1).Item(0).Data.ExpressionData
expr.Enable = true

My question is  How to make the macro code into C# when using OCX?

Thank you

0 Replies