Developer on VSTO 2005 SE C# for Word and Excel 2007

G

Guillermo Jimenez

Hi....!!!

Please help me with this problem... I need change the properties of a ribbon
created in VSTO 2005 SE for Word and Excel in code C# (code behind) for
example the visible property in the button of the ribbon. Next the code of
the XML file of the ribbon.

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="OnLoad">
<ribbon>
<tabs>
<tab id="Intelecto.CRM.Tab" label="CRM">
<group id="ReportsGroup" label="Reports">
<button id="txbtnOportunity"
size="large"
label="Oportunity"
onAction="OnTbxbtnOportunity"
screentip="Oportunity"
supertip="Consultar las oportunidades por vendedor."
imageMso="SharePointListsWorkOffline" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>

In additon i need disbled the save botton, print botton, print preview
botton located in the office botton of Word and Excel 2007.

Please its collaboration with the code of this two case.
Thks.
 
J

John McGhie

Sorry Guillermo: Wrong group. This is Macintosh Word here, we haven't
gotten the XML version yet.

VSTO SE won't do this. You need either the full version of VSTO, or Patrick
Schmidt's Ribbon Customiser. Google for it :)

Cheers


Hi....!!!

Please help me with this problem... I need change the properties of a ribbon
created in VSTO 2005 SE for Word and Excel in code C# (code behind) for
example the visible property in the button of the ribbon. Next the code of
the XML file of the ribbon.

<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"
onLoad="OnLoad">
<ribbon>
<tabs>
<tab id="Intelecto.CRM.Tab" label="CRM">
<group id="ReportsGroup" label="Reports">
<button id="txbtnOportunity"
size="large"
label="Oportunity"
onAction="OnTbxbtnOportunity"
screentip="Oportunity"
supertip="Consultar las oportunidades por vendedor."
imageMso="SharePointListsWorkOffline" />
</group>
</tab>
</tabs>
</ribbon>
</customUI>

In additon i need disbled the save botton, print botton, print preview
botton located in the office botton of Word and Excel 2007.

Please its collaboration with the code of this two case.
Thks.

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. S33°53'34.20 E151°14'54.50
+61 4 1209 1410, mailto:[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top