If you want to know the row numbers which are hidden in a range.
Here is the code-
Dim a As Range, b As Range, cell As Range
Dim bla As Boolean
Dim mscl As String
' USE ONLY 1 col LIKE A1:a500 OR z1 :Z500 ... NOT LIKE (A1:Z35)
Set b = Range("a1:a500").SpecialCells(xlCellTypeVisible)
For Each cell In Range("a1:a500")
bla = False
For Each a In b
If cell.Row = a.Row Then
bla = True
If bla = False Then
msgcl = cell.Row
MsgBox "Row No -------> " & msgcl & " is Hidden"
Saturday, September 24, 2011
Find Hidden Row Number In a Worksheet
Subscribe to: Post Comments (Atom)
Import data from SQL
Macro to import data from SQL using ADO connection string: Sub Import_data_from_SQL() ' Tools -> References -> Microsoft Active...
If you want to add a new menu on mouse right click "Workbook Navigation showing you the list of all open workbooks and worksheets in ea...
Macro to Export Range in Json Format Option Explicit Sub export_in_json_format() Dim fs As Object Dim jsonfile Dim rangetoex...
Post a Comment