Forum Discussion

mtthomasm516's avatar
mtthomasm516
Copper Contributor
Oct 30, 2023
Solved

Count Black Cells In a Range Using VBA

I am trying to count blank cells in a range using VBA.  Below is an abbreviated version of my code.  The full macro contains more, but I figured all that is irrelevant at this point since it chokes o...
  • HansVogelaar's avatar
    HansVogelaar
    Oct 31, 2023

    mtthomasm516 

    Try

     

        My_Tasks = WorksheetFunction.CountBlank(Range("Current_Tasks"))
    

Resources