| |||
![]()
|
![]() ![]() |
![]()
Funny bug On Error Resume Next Dim c As Collection 'comment out to show the bug 'Set c = New Collection 'c.Add "Shit" 'since c wasn't initialized, accessing it's property raises an error 'you'd think that Resume Next will go to the line after End If, but... If c.Count > 0 Then MsgBox "Shit happened" End If |
||||||||||||||||
![]() |
![]() |