How to Count Blank Cells in a Specified Range (139573)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q139573 SUMMARY
In Microsoft Excel, you can use a Microsoft Visual Basic for Applications
macro (Sub procedure) to count the blank cells in a specified range.
NOTE: You can also use the COUNTBLANK worksheet function to return the
number of blank cells in a range.
REFERENCES
Microsoft Press: "Excel 5 Visual Basic for Applications Reference," pages
335-336
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming kbualink97 KB139573 |
---|
|