Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Word » Office   (RSS)
Sorry, but there are no more tags available to filter with.

Automate Office Task Pane with Active Accessibility

The background Almost every Office application provides a powerful object model(OM) to allow developers to programmatically access its functionalities. However, there are always things that are inaccessible from OM. And a lot of task panes fall into this
Posted by guowu | 13 Comments
Filed under: ,

Programming Office Commandbars - get the ID of a CommandBarControl

The FindControl ( FindControls ) method of CommandBars collection / CommandBar object is the most useful and reliable way to get the reference to a CommandBarControl object. For built-in menu items and toolbar buttons, the control ID is required for a
Posted by guowu | 5 Comments
Filed under: ,

Programming Office Commandbars - how to disable shortcut menus

This is one of the FAQs about Office Commandbars. For some reason, you may want to suppress the shortcut menus brought up by right-clicking the content of an Office document. This is an example of how to disable them in Word: CustomizationContext = ActiveDocument
Posted by guowu | 1 Comments
Filed under: ,
 
Page view tracker