How to add a custom Ribbon tab using VBA?

后端 未结 7 723
深忆病人
深忆病人 2020-11-22 14:47

I am looking for a way to add a custom tab in the Excel ribbon which would carry a few buttons. I chanced on some resources addressing it via Google but all look dodgy and o

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-22 15:39

    Another approach to this would be to download Jan Karel Pieterse's free Open XML class module from this page: Editing elements in an OpenXML file using VBA

    With this added to your VBA project, you can unzip the Excel file, use VBA to modify the XML, then use the class to rezip the files.

提交回复
热议问题