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.
我可以从我的 VB 2010 应用程序中打开 Word 文档。我需要在打开文档时隐藏 MS Office 功能区并将 Show Ruler 选项设置为 false。有没有办法做到这一点?
尝试<startFromScratch = "true">在功能区 xml 代码的开头添加功能区。代码可能如下所示:
<startFromScratch = "true">
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui"> <ribbon startFromScratch="true"> 'your code here </ribbon> </customUI>