+ Reply to Thread
Results 1 to 4 of 4

Basic - Count number of rows with data

  1. #1
    Registered User
    Join Date
    07-02-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    38

    Basic - Count number of rows with data

    Hello,

    I am looking for vba code that will count the number of rows that have data in them. I know real basic, but just starting out. I don't want the vba code to go through the entire worksheet if it doesn't have to to help speed up the processing time. This would be part of a bigger code project.

    Thank you.

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Basic - Count number of rows with data

    Hi OcMac,

    This will display the number of entries in the range A1:A11 (change to suit):

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    07-02-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Basic - Count number of rows with data

    See I knew it was easy. Thank you for your help

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,565

    Re: Basic - Count number of rows with data

    You're welcome. Don't forget to mark the thread as solved when you get a chance.

    Thanks,

    Robert

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1