VBA: UnhideAll
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.
Purpose
Shows all rows and columns that are hidden.
See Introduction to Velixo's VBA functions for general usage information.
Syntax
objVelixo.UnhideAll
objVelixo - a variable that represents an instance of the Velixo VBA functions class.
RemarksThe UnhideAll method honors Excel's Application.DisplayAlerts flag.
UnhideAll is especially useful when used together with HideZeroRows or HideZeroColumns. See example for more detail. |
Examples
Simple usage
Using UnhideAll stand-alone:
Dim velixoObj As Velixo_Reports.VBA Set velixoObj = CreateObject("Velixo.Reports.Vba") velixoObj.UnhideAll
Common usage
A common use case is to UnhideAll, update some data and (re)apply HideZeroRows and/or Columns to one or many predefined ranges.
The below example uses the sample report structure from our sample files.
Dim velixoObj As Velixo_Reports.VBA Set velixoObj = CreateObject("Velixo.Reports.Vba") velixoObj.UnhideAll ' Update Financial Period Range("'Trial Balance'!B3").Value = "10-2018" velixoObj.HideZeroRows Range("'Trial Balance'!D8:E150")
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article