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 / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Determining if certain row # is blank

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bob - 24 Sep 2007 17:44 GMT
I would greatly appreciate any help in writing the necessary line(s) of code
to determine if a given row (e.g., 8) in the active workbook is completely
blank.
Thanks,
Bob
Gary Keramidas - 24 Sep 2007 18:05 GMT
this should return a zero if the row is blank:

application.counta(rows(8))
Signature


Gary

>I would greatly appreciate any help in writing the necessary line(s) of code
> to determine if a given row (e.g., 8) in the active workbook is completely
> blank.
> Thanks,
> Bob
Bob - 24 Sep 2007 18:28 GMT
Gary - Thanks!

> this should return a zero if the row is blank:
>
[quoted text clipped - 4 lines]
> > Thanks,
> > Bob
JE McGimpsey - 24 Sep 2007 18:09 GMT
One way:

   Dim bLine8IsBlank As Boolean
   bLine8IsBlank = Application.CountA(ActiveSheet.Rows(8)) = 0

> I would greatly appreciate any help in writing the necessary line(s) of code
> to determine if a given row (e.g., 8) in the active workbook is completely
> blank.
> Thanks,
> Bob
Bob - 24 Sep 2007 18:28 GMT
JE - Thanks!

> One way:
>
[quoted text clipped - 6 lines]
> > Thanks,
> > Bob
 
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.