+ Reply to Thread
Results 1 to 3 of 3

Count NonBlank Cells

  1. #1
    Lynn
    Guest

    Count NonBlank Cells

    What code can I use to count the number of non-blank cells in a selected range?

  2. #2
    Forum Contributor
    Join Date
    06-01-2006
    Posts
    324
    =counta(range)
    Google is your best friend!

  3. #3
    Jim Thomlinson
    Guest

    RE: Count NonBlank Cells

    Give this a whirl...

    msgbox application.worksheetfunction.count(range("A1:D100"))
    --
    HTH...

    Jim Thomlinson


    "Lynn" wrote:

    > What code can I use to count the number of non-blank cells in a selected range?


+ 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