UniqueEmbedName Method

Object List Next Object

Defined By:
ObjectTools

Description:

Generates a unique name for an embedded object.

Declaration:

Function UniqueEmbedName(ByVal host As Object, ByVal prefix As String)As String

Details:

Host is the object containing the embed. Prefix is the beginning of the name you want for the embed. A number will be appended to Prefix to make the name unique. UniqueEmbedName returns a string containing the new embed name.