FindObject Method

Object List Next Object

Defined By:
ObjectTools

Description:

Finds an object given the name of the object.

Declaration:

Function FindObject(ByVal name As String) As Object

Details:

If an object with the given name exists, then it is returned by FindObject; otherwise the return value is Nothing. The name string may be a simple or compound identifier, i.e. both top-level and embedded objects can be found by FindObject.

See Also:

FindObjectFromWindow, FindObjectUnderPoint