Workbook.PublishObjects property (Excel)
Returns the PublishObjects collection. Read-only.
expression A variable that represents a Workbook object.
This example publishes all static PublishObject objects in the active workbook to the webpage.
Set objPObjs = ActiveWorkbook.PublishObjects For Each objPO in objPObjs If objPO.HtmlType = xlHTMLStatic Then objPO.Publish End If Next objPO
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.