![]() |
Count NonBlank Cells
What code can I use to count the number of non-blank cells in a selected range?
|
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? |
Count NonBlank Cells
=counta(range) -- Bearacade ------------------------------------------------------------------------ Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016 View this thread: http://www.excelforum.com/showthread...hreadid=554342 |
All times are GMT +1. The time now is 09:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com