From: Sebastian Hungerecker Date: 2008-10-13T02:44:59+09:00 Subject: Re: why the object doesn't respond to its method? Li Chen wrote: > Hi all, > > I want to find out if an object responses to a method. while I can tell > that the excel object(in this script) responses to method 'Visible or > visible', my codes DO NOT come true. Any idea? My guess is that WIN32OLE handles the call to Visibile via method_missing and does not redefine respond_to? to return true for methods handled by method_missing. Or, given that in your code you only ever called Visible= and never just Visible, it might actually be the case that it does not respond to Visible, though that is admittedly unlikely. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826