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: 
ali_hijazi
Partner - Master II
Partner - Master II

read cells of a column of a pivot table

hello

is there a way to read the cells of a column of a pivot table using macros?

I can walk on water when it freezes
3 Replies
swuehl
MVP
MVP

Maybe using GetCell() function?

Like (from the API examples):

set table = ActiveDocument.GetSheetObject( "CH01" )

for RowIter = 0 to table.GetRowCount-1

    for ColIter =0 to table.GetColumnCount-1

        set cell = table.GetCell(RowIter,ColIter)

        msgbox(cell.Text)

    next

next

Regards,

Stefan

ali_hijazi
Partner - Master II
Partner - Master II
Author

Actually the above example is not helpful

what I want is actually display in a pivot table only the rows with non null cells

I can walk on water when it freezes
swuehl
MVP
MVP

ali_hijazi wrote:

is there a way to read the cells of a column of a pivot table using macros?

This was your original question, wasn't it?