Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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