Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Matrix MACRO "GetCells2"

Hi,

My macro always gets an error if I wanna get matrix values from a chart

e.g.

set matrix=obj.getcells2(0,0,rownumber,columnnumber) this works fine

however, if i change the 0,0, to say 2,2 > error...!!

Why??

Please help - thanks alot

1 Solution

Accepted Solutions
Not applicable
Author

Do you still use rownumber and columnumber with your 2,2 call?

This might throw an error as the matrix does not contain enough cells. Can you try

set matrix=obj.getcells2(2,2,1,1)



View solution in original post

2 Replies
Not applicable
Author

Do you still use rownumber and columnumber with your 2,2 call?

This might throw an error as the matrix does not contain enough cells. Can you try

set matrix=obj.getcells2(2,2,1,1)



Not applicable
Author

works now thanks lot

it seems there has to be at least 2 cells in between!