Microsoft Producer for PowerPoint 2003 SDK banner art
PreviousNext

Windows.FindByName

The FindByName method retrieves the index of the Window with the specified name.

Syntax

Application.Windows.FindByName(name)

Parameters

  name

String containing the name of the Window whose index is to be retrieved. Contains one of the following values.

Value Description
EServiceWindow Represents the browser window that opens when the user clicks Learn More in the Publish Wizard.
PublishWizard Represents the Publish Wizard dialog box.

Return Values

This method returns a Number (long).

Remarks

This method retrieves an index that can be used with the Windows.Item method to retrieve a Window object. In order to close the window indicated with the name parameter, the Window.Close method must be called.

See Also

PreviousNext


© 2001-2003 Microsoft Corporation. All rights reserved.