Here is a snippet of my code:
What is the syntax to debug.print this code?
Note: The item is a part of a class.
Code:
Set Results = New Dictionary
For i = 2 To UBound(Mainarray)
TheDate = Mainarray(i, 1)
' If team one is not already in dictionary then add
Results.CompareMode = TextCompare
If Results.Exists(TheDate) Then
'Results(TheDate) = Mainarray(Ecount, 1)
Tran.Update_Amount = Mainarray(i, 8) + Tran.Update_Amount
Else
Tran.Update_Amount = Mainarray(i, 8)
Results.Add Key:=Mainarray(i, 1), Item:=Tran.Update_Amount
End If
Next i
What is the syntax to debug.print this code?
Note: The item is a part of a class.