Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Analysis, edition for Microsoft Office
Viewing all articles
Browse latest Browse all 1521

SAPGetCellInfo

$
0
0

Hello Experts,

 

                      New to analysis office and I am having difficulty with understanding SAPGetCellInfo API Function with the property Selection.

 

I have got the following report

 

Capture.PNG

With my understanding, when i run the following code, I should get details regarding the GLAccount Dimension( Row filter) , Time Dimension (Column Filter) and Measure. Is my understanding correct or its totally wrong.

 

Public Sub CellInfo1()

Dim Result13 As Variant

Dim txt As String

Dim i As Long

Result13 = Application.Run("SAPGetCellInfo", ActiveCell, "SELECTION")

For i = LBound(Result13) To UBound(Result13)

    txt = txt & Result13(i) & vbCrLf

  Next i

  MsgBox txt

End Sub

 

When I try to run this, I am getting subscript out of range error. Kindly correct me where I am going wrong. Your help is much appreciated.

 

Thanks


Viewing all articles
Browse latest Browse all 1521

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>