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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
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