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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Chart macro

Hello,

I use macro to get date from chart:

sub qqqq


set obj = ActiveDocument.GetSheetObject( "CH03" )
CellRect = ActiveDocument.GetApplication().GetEmptyRect()
CellRect.Top = 0
CellRect.Left = 0
CellRect.Width = obj.GetColumnCount
CellRect.Height = obj.GetRowCount
set CellMatrix = obj.GetCells( CellRect )
for RowIter=CellRect.Top to CellRect.Height-1
    for ColIter=CellRect.Left to CellRect.Width-1
        msgbox(CellMatrix(RowIter)(ColIter).Text)
    next
next


end sub

How could I get max Column value into variable in this macro?

Labels (1)
0 Replies