Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为 Excel (2007+) 构建一个 Visual Studio 工作簿加载项组件。我的 VSTO 修改工作簿中有一些工作表,我想禁用代码中的标题。(您可以在 Excel 功能区 > 视图 > 标题“复选框”中执行的操作)。有谁知道如何做到这一点?
VB.Net
Me.Application.ActiveWindow.DisplayHeadings = False
C #
this.Application.ActiveWindow.DisplayHeadings = false;