How can I view Microsoft Office Custom properties via the GUI? - ms-word

You can programmatically add or delete custom document properties (also called meta data) to a Microsoft Office application like Word. See this link for an example. Now, is there a means to view these added PROGRAMMATICALLY-CREATED custom document properties in Microsoft Office graphical user interface (helps make debugging issues with custom properties easier)?

Yes you can. In office 2010 you can find them under:
File, Info. Then on the right side select the "Properties" dropdown and select "advanced properties" It will give you a popup window where the last tab has the custom properties. It is in the windows on this with header "Properties". If you do not see it there, there "could" be the possibility you are not setting it right.

Related

Microsoft Word Add-in 2013/2016 -- Detect File Tab Visible

I am developing a word add-in in C#. In word 2013/2016, the file tab takes up the whole document window and covers the editable text area. I need to know when the editable text region becomes no longer visible because the file menu is selected/visible. Some form of callback would be ideal, but a property would suffice.
I looked in the Application, Window, and Document objects for callbacks that indicate a file menu selection -- no success.
I looked for properties that indicate that the file menu is visible -- no success.
I looked for a callback or property that indicates that the editable area of the document is no longer visible -- no success.
Any ideas?
The Backstage UI provides the onShow and onHide callbacks that allow to detect when the File tab is shown and hidden.
<backstage onShow="OnShow">
Read more about that in the Customizing the Office 2010 Backstage View for Developers article.
Also you may find the Introduction to the Office 2010 Backstage View for Developers article helpful.

SAP BO Deski Query Panel - Classes and Objects panel not visible

I'm using SAP BO Desktop Intelligence v12.1.0.882, on a Windows workstation with limited privileges.
Issue:
After opening an existing report template (.rep) file, and clicking on the button for "Edit Data Provider", the Query Panel does not display the "Classes and Objects" pane on the left.
When clicking on the button for "Show/hide all classes" in top left of query pane, it does not show / have any effect on what is displayed in the Query Panel for "Classes and Objects".
What I've tried:
1) I've read through the "Business Objects User's Guide: Accessing Data and Data Analysis" (Business Objects 6.1), eg page 57, but this doesn't cover / mention this issue.
2) Searches via Google and Bing, however these do not give many relevant results.
Ideas:
1) Possibly viewing what rights on what DeskI can and can't show to me?
This is now resolved.
Resolution was to drag the left pane across using the cursor :).

MS Word 2013 Navigation Pane Context Menu

Using MS office 2013:
Does anyone know how I can get the CommandBar item for the Context menu that appears when right clicking an item on the navigation pane?
I want to add some extra options for performing on the range returned by the 'Select heading and content' button.
I can get the navigation pane using Application.CommandBars("Navigation"), but I can't for the life of me seem to be able to find the Context menu associated with this pane. I have even iterated all commandbars and their controls to look at the caption, and I can't even find a commandbar with a control that has the caption SubHeading.
Any ideas are welcome, I don't mind going down the CustomXml route as I am building a VSTO addin, I just want to be able to add buttons to the context menu and get the range for the selected heading and content.
UPDATE 1: Add screenshot of the context menu in question:
UPDATE 2:
Going down the CustomXml route as suggested by Eugene, I am still hitting a wall when I try to customise the menu:
Using the most recent CustomUI documentation from http://www.microsoft.com/en-us/download/details.aspx?id=727 it suggests that the idMso of the context menu for the navigation pane is ContextMenuNavigationPane, but the following xml yields no results (it does work when adding to ContextMenuText).
<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
<contextMenus>
<contextMenu idMso="ContextMenuNavigationPane">
<button id="SomeNavButtonIAdded" label="Some Button i added" />
</contextMenu>
</contextMenus>
</customUI>
What context menu exactly do you want to customize? Could you take a screenshot?
The fact is that Command bars are not used any longer (were deprecated). The only possible way to customize the context menus in Office 2013 is to use the Fluent UI (aka Ribbon UI). You can read more about that in the following articles in MSDN:
Customizing Context Menus in Office 2010
Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)

Get my Visio 2013 template on the New page

I've created a new template. How do I get the template to show up when I want to create a new drawing.
I did a search on .vstx and found this folder. I saved it here, but it still doesn't show up.
C:\Program Files (x86)\Microsoft Office\Office15\Visio Content\1033
This template will be the base for many drawings and I would like to be able to select it quickly while in meetings.
Thanks
In 2013 you need to go to Options/Advanced and scroll down to the bottom where it has a button for File Locations. Add a folder for templates and then save the template to that folder. Your template will show up in the New under Categories instead of Featured.
On the File menu, click Save As. In the Save as type list, click
Template (*.vst). In the File name box, type a name for your
template. Click the arrow next to Save, and make sure that Workspace
is selected (checked). In the Save in list, select the folder in
which you want to save the template.
Tip If you want the template to appear in the list that Visio displays when you click New on the File menu, save the template in the Solutions folder or one of its subfolders.
Note In Visio 2003, click the arrow next to Save, and make sure that Workspace is selected. In Visio 2007, click Save workspace on the Summary tab in the Properties window.
Click Save.
Link for these steps
Save your template as a Visio template (.vst file) in whatever location you want for your custom templates. Then you have a choice.
As Matt616 says, you could go to Options/Advanced in Visio 2013, click on "File Locations" and then enter your location as the location for templates. If you do this, then when you want to create a new drawing, your custom templates will appear under the Categories tab. The trouble with this is that the Categories tab is already full of other stuff.
As a (possibly better) alternative, go to Options/Save in Visio 2013 and enter your location as "Default personal templates location". If you do this, then when you want to creat a new drawing, there will be a new tab above the list of templates, called "Personal". Click this and you will see just your custom templates and no other stuff. Also, templates in this tab are pinnable (which doesn't seem to work in the "Categories" tab) and any templates that you pin will appear under "Featured" in future.

Change checkbox(Activex control) in word 2007

In word 2007, I'm trying to use the default activex control as check box. I would like the color of text changed after some one check the box it.
I know how to get it done with VBA and checkbox formfield, but how can this be done with checkbox(active control)?
Shortly, is there any way I can retrieve the properties or other object information of ActiveX control check box?
I think this answer is too late for the questioner, how ever i am sending it for those who will face this problem later on.
IF you know how to change check box color in VBA then you can do it in word as well. All you have to do is to insert a check box that you can code your self. to do so.
Generate Developor's Tab in MS Word by clicking word button at the top left of MS WORD 07 Window; Select Advanced; Select Popular; then in the pan opened, check the check box that contains Developor's tab.
Now Click the Developer's Tab, Locate the Control Group and from their, click on legacy tools pull down menu.Click on more controls option at the lowest left of the legacy tools pull down menu. A new Window will open.
Scroll down to find the option Micrsoft Forms 2.0checkbox.
Click to select it, and you are done. You will receive a check box at the place where your cursor was blinking before you startated this process.
This Checkbox is very similar to the Check box from VB. Now if you know the VBA Codes and want to change the properties of check box like color etc. Look at the Control Group in Developer's Tab. Click Design Mode. Now DOUBLE CLICK THE CHECK BOX AND VB CODING FORM OPENS WHERE YOU CAN CODE.
In case you do not know how to code in VB, You can still make some useful changes in check box. Single click on the check box and Then Click Properties Immediately below the Design Mode in the devloper's Tab.
Here you can make changes in properties.