VBA: GetGLDrilldownSummary

Created by Damien Zwillinger, Modified on Thu, 5 Oct, 2023 at 5:56 PM by Gabriel Michaud

Applies to:

  • Velixo Classic
  • Velixo NX (when used with Excel on Desktop)

Important: Visual Basic for Applications macros are not supported by Excel Online.


Returns a summary of all the summary rows identified during drilldown.


See Introduction to Velixo's VBA functions for general usage information.



  objVelixo.GetGLDrilldownSummary Cell

objVelixo - a variable that represents an instance of the Velixo VBA functions class.






Required. Excel.Range to act upon. Must be a single cell.


Returns a list of GLDrilldownSummary objects. The following properties are available in this object: Account, Branch, Connection, Ledger, SourceAddress Subaccount.


This function can be used to create your own custom drilldown tab, or to dynamically expand a report based on the selected row. A complete example can be found in this file: RapidByte Macros Sample.xlsm



Dim velixoObj As Velixo_Reports.VBA
Set velixoObj = CreateObject("Velixo.Reports.Vba")

If Selection.Cells.Count > 1 Then
    MsgBox "Only one cell can be selected at once.", vbCritical
    Exit Sub
End If

For Each data In velixoObj.GetGLDrilldownSummary(ActiveCell)      
    MsgBox data.Account & "-" & data.Subaccount 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article