FindEmbed Method

Object List Next Object

Defined By:
ObjectTools

Description:

Finds an embedded object with a given name in a particular host.

Declaration:

Function FindEmbed(ByVal host As Object, ByVal name As String) As Object

Details:

The object host is searched for an embedded object with the given name. If such an embed is found, it is returned; otherwise the return value is Nothing. Only immediate embeds are searched, that is, embeds-of-embeds and so on are not searched.

See Also:

EmbedObject, EnumObjectEmbeds, HostObject