I am encountering the same problem for Samie (perl)...
I got that error on IEObject->{Document}
I found this after googling for a long time:
http://support.microsoft.com/?kbid=889386
Or I found another thread in python said that if you change fireEvent('onchange') to FireEvent('onchange') it will work.