Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2008

Tip: Looking for answers? Try searching our database.

unhidden row

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nahc - 22 Feb 2008 04:34 GMT
May I know how to number unhidden rows only
Don Guillett - 22 Feb 2008 12:58 GMT
I never felt a need to do this but this should do it.

Sub numbervisiblerows()
mc = 2'column number to check 2 is column B
For i = 1 To Cells(Rows.Count, mc).End(xlUp).Row
If Rows(i).Hidden = False Then Cells(i, mc -1) = j
j = j + 1
Next i
End Sub
Signature

Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@austin.rr.com

> May I know how to number unhidden rows only
Nahc - 22 Feb 2008 13:36 GMT
sorry sir, is there a simpler explanation ?

> I never felt a need to do this but this should do it.
>
[quoted text clipped - 6 lines]
> End Sub
> > May I know how to number unhidden rows only
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.