Workbook.PublishToDocs method (Excel)

Saves the workbook and publishes it to a document.

Syntax

expression.PublishToDocs

expression A string that represents a Workbook object.

Example

Workbook.PublishToDocs(Title As String, DisclosureScope As XlPublishToDocsDisclosureScope) As String

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.