How can you place the following VBA code in 1 line.
Tried using semi-colon ":" but does not work.
Tried using semi-colon ":" but does not work.
VBA Code:
Counter = 0
For i = 1 To Len(Item)
If IsNumeric(Mid(Item, i, 1)) = True Then
Counter = Counter + 1
End If
Next i
VBA Code:
Counter = 0: For i = 1 To Len(Item): If IsNumeric(Mid(Item, i, 1)) = True Then: Counter = Counter + 1: End If: Next i