IBlogExtensibility.PublishPost method (Office)

Hands off the current post so that it can be published by the provider.

Syntax

expression.PublishPost (Account, ParentWindow, Document, userName, Password, xHTML, Title, DateTime, Categories(), Draft, PostID, PublishMessage)

expression An expression that returns an IBlogExtensibility object.

Parameters

Name Required/Optional Data type Description
Account Required String Represents the GUID of the account registry key. Blog account settings are stored in the registry at \HKCU\Software\Microsoft\Office\Common\Blog\Account.
ParentWindow Required Long Contains the HWND for the window that Microsoft Word is calling from.
Document Required Object The current document.
userName Required String Represents the username stored in the registry account settings.
Password Required String Represents the user's password stored in the registry account settings.
xHTML Required String Represents the xHTML of the current document.
Title Required String The title of the post.
DateTime Required String The date the entry was posted.
Categories() Required String A list of categories supported by the provider.
Draft Required Boolean Specifies whether this is a draft version of the post.
PostID Required String The ID of the original post if this post has been republished.
PublishMessage Required String Specifies what is displayed in the publish bar.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.