Klash Ville
Board Regular
- Joined
- Sep 19, 2017
- Messages
- 83
Hello everyone, I have this piece of code:
The target table ranges have exacly 15 rows of content, yet, the variables always return me 0...
What's the problem?
Code:
Dim counting_2 As Integer
Dim counting_3 As Integer
Dim counting_4 As Integer
counting_2 = Application.Count(Range("Tabelle2[Chemical System_2]").SpecialCells(xlCellTypeVisible))
counting_3 = Application.Count(Range("Tabelle2[Chemical System_3]").SpecialCells(xlCellTypeVisible))
counting_4 = Application.Count(Range("Tabelle2[Chemical System_4]").SpecialCells(xlCellTypeVisible))
MsgBox counting_2
MsgBox counting_3
MsgBox counting_4
The target table ranges have exacly 15 rows of content, yet, the variables always return me 0...
What's the problem?