Select VSTO Custom Ribbon in Excel

前端 未结 4 1405
野趣味
野趣味 2020-12-11 11:02

When VSTO code creates a list object and applies a table style in Excel 2007, the Table Tools/Design tab is activated automatically. When the user then selects a non-table

4条回答
  •  青春惊慌失措
    2020-12-11 11:09

    I don't think you'll consider this an "answer" but the best thing I could find was someone on MSDN suggesting I assign a keyboard shortcut to the ribbon and then using Application.SendKeys to select it when I assumed the user will need to see the ribbon (on startup after I create the initial table, etc.)

    Best of luck to you, and I hope you find a better answer - I will gladly update my application in that case!

提交回复
热议问题