Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 10-31-2015, 09:42 AM
NoSparks NoSparks is offline Find first row in a table that is not hidden? Windows 7 64bit Find first row in a table that is not hidden? Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Perhaps you can glean something from this
Code:
Sub First_VisRowOfTable()
    
    Dim Tbl As Excel.ListObject
    Dim cel As Range
    
Set Tbl = ActiveSheet.ListObjects(1)    'first table on sheet

With Tbl
    For Each cel In Tbl.ListColumns(1).DataBodyRange.SpecialCells(xlCellTypeVisible)
        MsgBox cel.Row
        Exit For
    Next
End With

End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find first row in a table that is not hidden? VBA Table – Search All Tables - Find & Replace Text in Table Cell With Specific Background Color jc491 Word VBA 8 09-30-2015 06:10 AM
find 2 values i a table to find the right prise Vibov Excel 1 01-11-2015 07:25 AM
Find first row in a table that is not hidden? programmatically inserting hidden text into a Word 2010 table epid011 Word VBA 16 12-30-2013 11:29 AM
Find first row in a table that is not hidden? Hidden text in table Angel9520 Word Tables 1 05-02-2012 01:00 AM
Find first row in a table that is not hidden? Hidden style applied over already-hidden text. christie Word 1 08-17-2011 09:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft