Workbook.PublishToDocs method (Excel)
Saves the workbook and publishes it to a document.
expression A string that represents a Workbook object.
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.