Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Sub ShowCount()
Debug.Print CountUp
End Sub
Public Function CountUp() As Long
Dim rng As Range
Dim sht As Worksheet
For Each sht In ActiveWorkbook.Sheets
For Each rng In ActiveSheet.Cells
rng.Select
If Selection.Interior.ColorIndex = 6 Then
CountUp = CountUp + 1
DoEvents
Debug.Print CountUp
End If
Next
Next
End Function