Application Members (Publisher)
Represents the Microsoft Publisher application. The Application object includes properties and methods that return top-level objects. For example, the ActiveDocument property returns a Document object.
Methods
Name |
Description |
---|---|
Converts a measurement from centimeters to points (1 cm = 28.35 points). Returns the converted measurement as a Single. |
|
Sets the folder in which Microsoft Publisher searches for documents. The specified folder's contents are listed the next time the Open Publication dialog box (File menu) is displayed. |
|
Converts a measurement from emus to points (12700 emus = 1 point). Returns the converted measurement as a Single. |
|
Displays online Help information. |
|
Converts a measurement from inches to points (1 inch = 72 points). Returns the converted measurement as a Single. |
|
Determines whether the specified object variable references a valid object and returns a Boolean value: True if the specified variable that references an object is valid, False if the object referenced by the variable has been deleted. |
|
Converts a measurement from lines to points (1 line = 12 points). Returns the converted measurement as a Single. |
|
Converts a measurement from millimeters to points (1 mm = 2.835 points). Returns the converted measurement as a Single. |
|
Returns a Document object that represents a new publication. |
|
Returns a Document object that represents the newly opened publication. |
|
Converts a measurement from picas to points (1 pica = 12 points). Returns the converted measurement as a Single. |
|
Converts a measurement from pixels to points (1 pixel = 0.75 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to centimeters (1 cm = 28.35 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to emus (12700 emus = 1 point). Returns the converted measurement as a Single. |
|
Converts a measurement from points to inches (1 in = 72 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to lines (1 line = 12 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to millimeters (1 mm = 2.835 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to picas (1 pica = 12 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to pixels (1 pixel = 0.75 points). Returns the converted measurement as a Single. |
|
Converts a measurement from points to twips (20 twips = 1 point). Returns the converted measurement as a Single. |
|
Quits Microsoft Publisher. This is equivalent to clicking Exit on the File menu. |
|
Displays the Publication Types catalog for the wizard of the specified type. |
|
Converts a measurement from twips to points (20 twips = 1 point). Returns the converted measurement as a Single. |
Properties
Name |
Description |
---|---|
Returns a Document object that represents the active publication. If there are no documents open, an error occurs. |
|
Returns a Window object that represents the window with the focus. Because Microsoft Publisher only has one window, there is only one Window object to return. |
|
Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application. |
|
Gets a reference to the Microsoft Office (MSO) IAssistance object, which provides a means for developers to create a customized Help experience for users within Microsoft Office. Read-only. |
|
Specifies the security mode that Microsoft Publisher uses when programmatically opening files. Read/write. |
|
Returns a Long that represents the Microsoft Publisher build number. Read-only. |
|
Returns a ColorSchemes collection that represents the color schemes available. |
|
Returns a COMAddIns collection that represents a reference to the Component Object Model (COM) add-ins currently loaded in Microsoft Publisher. |
|
Sets or returns a CommandBars collection that represents the menu bar and all the toolbars in Microsoft Publisher. |
|
Returns a Documents collection that represents all open publications. Read-only. |
|
Returns a FileDialog object that represents a single instance of a file dialog box. |
|
Determines whether Add a postal bar code is available under More Items on the Mail Merge and Catalog Merge task panes in the Microsoft Publisher user interface (UI); and whether Add postal bar codes is available under Prepare for Mailing on the Publisher Tasks task pane in the Publisher UI. Read/write. |
|
Returns an InstalledPrinters collection that represents the names of all the printers installed on the computer and to which Microsoft Publisher can print the publication. Read-only. |
|
Returns a Long that represents the language selected for the Microsoft Publisher user interface. Read-only. |
|
Returns a String value indicating the name of the specified object. Read-only. |
|
Returns an OfficeDataSourceObject object representing the data source in a mail merge or catalog merge operation. Read-only. |
|
Returns an Options object that represents application settings you can set in Microsoft Publisher. |
|
Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only. |
|
Returns a String indicating the full path to the file of the saved active publication, not including the last separator or file name. |
|
Returns a String that represents the character used to separate folder names. Read-only. |
|
True to display in Print Preview the publication in the current view. Read/write Boolean. |
|
Returns a String indicating the Microsoft Publisher globally unique identifier (GUID). Read-only. |
|
Returns or sets a Boolean indicating whether Microsoft Publisher refreshes the screen display during run time; True to refresh the screen display. Read/write. |
|
Returns a Selection object that represents a selected range or the cursor. |
|
Gets or sets the string, if any, that appears as the fourth item under Prepare to follow-up on this mailing on the third Mail Merge task pane in the Microsoft Publisher user interface. Read/write. |
|
True for Microsoft Publisher to use the guides to align objects on a page in a publication. Read/write Boolean. |
|
True for Microsoft Publisher to use objects on a page to line up other objects. Read/write Boolean. |
|
Returns a String that represents the location where Microsoft Publisher templates are stored. Read-only. |
|
Determines whether Validate addresses is available under Refine recipients in the Mail Merge Recipients dialog box in the Microsoft Publisher user interface (UI); and whether Validate addresses is available under Prepare for Mailing on the Publisher Tasks task pane in the Publisher UI. Read/write. |
|
Returns a String indicating the version number of the currently-installed copy of Microsoft Publisher. Read-only. |
|
Returns a WebOptions object, which represents the properties of Web publications. Read-only. |
|
Returns or sets a Boolean indicating whether the Wizard Catalog is visible. Read/write. |
Events
Name |
Description |
---|---|
Fires after all variables and fields print. |
|
Occurs before the publication is printed or previewed. . |
|
Occurs immediately before any open document closes. |
|
Occurs when opening a document. |
|
Occurs when the catalog of publication wizards is hidden in the Microsoft Publisher user interface. |
|
Occurs after all records in a mail merge have merged successfully. |
|
Occurs after each record in the data source successfully merges in a mail merge. |
|
Occurs when a merge is executed before any records in a mail merge have merged. |
|
Occurs as a merge is executed for the individual records in a merge. |
|
Occurs when the data source is loaded for a mail merge. |
|
Occurs when a user performs address verification by clicking Validate in the Mail Merge Recipients dialog box. |
|
Occurs when Microsoft Publisher requires data to generate barcodes in a mail-merge publication, in particular when the mail-merge recipient list changes. |
|
Occurs when the user issues the command to insert postal barcodes into a mail-merge publication, either in the Microsoft Publisher user interface (UI), or programmatically. |
|
Fires when the user closes the Mail Merge Recipients dialog box. (From the Mail Merge or E-mail Merge task pane, click Edit Recipient List). Also fires when the user closes the Catalog Merge Product List dialog box, which opens when the user clicks Edit Product List in the Catalog Merge task pane. |
|
Fires when the string that appears as the fourth item under Prepare to follow-up on this mailing on the third Mail Merge task pane in the Microsoft Publisher user interface is clicked. |
|
Occurs when a user changes from a specified step to a specified step in the Mail Merge Wizard. |
|
Occurs when a new publication is created. |
|
Occurs when the user exits Microsoft Publisher. |
|
Fires when the catalog of publication wizards is displayed in the Microsoft Publisher user interface. |
|
Occurs when the application window is activated. |
|
Occurs when the application window is deactivated. |
|
Occurs when switching the view from one page to another page in a publication. |