Discussion:
Developer on VSTO 2005 SE C# for Word and Excel 2007
(too old to reply)
Guillermo Jimenez
2007-06-16 18:55:00 UTC
Permalink
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.
Patrick Schmid [MVP]
2007-06-17 21:26:10 UTC
Permalink
So what is not working?
I only see the RibbonX here, but no C#. We'll need more information as
to what you are not able to accomplish to be able to help you

Patrick Schmid [OneNote MVP]
--------------
http://pschmid.net
***
Outlook 2007 Performance Update: http://pschmid.net/blog/2007/04/13/105
Office 2007 RTM Issues: http://pschmid.net/blog/2006/11/13/80
***
Customize Office 2007: http://pschmid.net/office2007/customize
RibbonCustomizer Add-In: http://ribboncustomizer.com
OneNote 2007: http://pschmid.net/office2007/onenote
***
Subscribe to my Office 2007 blog: http://pschmid.net/blog/feed
Post by 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.
Loading...