Can anyone tell me why this doesn't work????
VB Code:
  1. Option Compare Text
  2.  
  3. Sub Main
  4. Dim objEmployee as MicrosoftCorp.Employee
  5.  
  6.     For Each objEmployee In Microsoft.Employees
  7.         If objEmployee.fullName Like "Bill Gates" Then
  8.             Call doPainfullDeath(objEmployee)
  9.         Else
  10.             Set objEmployee = Nothing
  11.         End If
  12.     Next
  13. End Sub