I want to ask something. I hope you can help me on this. I want to know how will I display all elements of a particular subset to an Excel Sheet.
Thanks!
bunchukokoy

Depends on what your intention is, but a couple of ways:bunchukokoy wrote: I want to ask something. I hope you can help me on this. I want to know how will I display all elements of a particular subset to an Excel Sheet.
Code: Select all
=SUBNM("Server:Dimension","SubsetName",ROW())
If this is all you want to do it would be more efficient to programatically fill down the dimnm formula the number of rows specified by dimsiz then run tm1recalc1 macro. It would probably be faster too.cramejia_09 wrote:For me, my idea is to use the vba macro of Excel to list down all the elements of a dimension in an excel sheet.
1.First, get the no. of elements or size of a particular dimension that you want to use.
Dim x as long
x = Application.Run("DIMSIZ" ...etc
2.Second, use DIMNM to get the elements in a dimension. Use the size of the dimension to loop the elements in a dimension.