Hi,
I am looking for a way to select a specific element of the flow dimension when opening a report. I believe I need a macro and the on_workbook_open() function into which I then add a setcontextmember function. However I am totally unclear on what the syntax is.
I added a new module to my Excel sheet and tried this code
function on_workbook_open()
Dim connect As String
connect = api.GetActiveConnection(FORMULAR)
api.SetContextMember connect, ACCTDETAIL, S_010
The sheet I am using is called FORMULAR and it contains 14 individual reports, none of which uses the ACCTDETAIL dimension in row, column or page axis.
That just got me an error messagen when opening the file again (saved as xlsm). Can anyone help me with this one?
Thanks, Arnold