I'm building some reporting in excel using perspectives which requires custom subsets so that I can consolidate data in ways outside of the official hierarchies. I don't have write access to the server so I can't create any public subsets.
My workaround has been to create some private subsets, which work fine on my machine, but of course when anyone else tries to run my reports they get errors. A bit of googling, led me to the Subdefine function, which should be able to create a subset from a range in Excel, but I can't for the life of me get it to work. The code I'm using to test creation of a subset is:
Code: Select all
Sub createsubsets()
bResult = Application.Run("SUBDEFINE", "TM1_Financials:All GL:Account", "My Test Subset", ActiveSheet.Range("A2:A3"))
Debug.Print bResult
End Sub
