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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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