PC Review


Reply
Thread Tools Rate Thread

2007 Customui - is it possible to control the visbility of a "grou

 
 
Dreiding
Guest
Posts: n/a
 
      20th Apr 2010
I'm looking to have a "group" displayed only when "Sheet1" is active.
Is this possible? My UI code is:
-------------------------------------------------------------------------------
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab idMso="TabHome">
<group id="RGroup" label="Risk" insertAfterMso="GroupClipboard"
getVisible="getVisibleCallback">
<button id="ClearAll"
label="Clear All"
onAction="MyMacro"
screentip="Removes Risk table data and deletes all the rows"
imageMso="TableRowsDeleteExcel"/>
<button id="AppendRow"
label="Append Row"
onAction="MyMacro"
screentip="Appends new row to Risk table"
imageMso="TableRowsInsertBelowExcel"/>
<button id="DeleteRow"
label="Delete Row"
onAction="MyMacro"
screentip="Deletes selected rows from Risk table - Except the first row!"
imageMso="TableRowsDeleteExcel"/>
</group>
</tab>
</tabs>
</ribbon>
</customUI>

---------------------------------------

---------------------------------------
Thanks
- Pat
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      20th Apr 2010
See

http://www.rondebruin.nl/hidevisible.htm


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm



"Dreiding" <(E-Mail Removed)> wrote in message news:1E297B5F-167A-44F0-9EF2-(E-Mail Removed)...
> I'm looking to have a "group" displayed only when "Sheet1" is active.
> Is this possible? My UI code is:
> -------------------------------------------------------------------------------
> <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
> <ribbon>
> <tabs>
> <tab idMso="TabHome">
> <group id="RGroup" label="Risk" insertAfterMso="GroupClipboard"
> getVisible="getVisibleCallback">
> <button id="ClearAll"
> label="Clear All"
> onAction="MyMacro"
> screentip="Removes Risk table data and deletes all the rows"
> imageMso="TableRowsDeleteExcel"/>
> <button id="AppendRow"
> label="Append Row"
> onAction="MyMacro"
> screentip="Appends new row to Risk table"
> imageMso="TableRowsInsertBelowExcel"/>
> <button id="DeleteRow"
> label="Delete Row"
> onAction="MyMacro"
> screentip="Deletes selected rows from Risk table - Except the first row!"
> imageMso="TableRowsDeleteExcel"/>
> </group>
> </tab>
> </tabs>
> </ribbon>
> </customUI>
>
> ---------------------------------------
>
> ---------------------------------------
> Thanks
> - Pat

 
Reply With Quote
 
Dreiding
Guest
Posts: n/a
 
      23rd Apr 2010
Hi Ron,

Worked great! Thank you!
- Pat

"Ron de Bruin" wrote:

> See
>
> http://www.rondebruin.nl/hidevisible.htm
>
>
> --
>
> Regards Ron de Bruin
> http://www.rondebruin.nl/tips.htm
>
>
>
> "Dreiding" <(E-Mail Removed)> wrote in message news:1E297B5F-167A-44F0-9EF2-(E-Mail Removed)...
> > I'm looking to have a "group" displayed only when "Sheet1" is active.
> > Is this possible? My UI code is:
> > -------------------------------------------------------------------------------
> > <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
> > <ribbon>
> > <tabs>
> > <tab idMso="TabHome">
> > <group id="RGroup" label="Risk" insertAfterMso="GroupClipboard"
> > getVisible="getVisibleCallback">
> > <button id="ClearAll"
> > label="Clear All"
> > onAction="MyMacro"
> > screentip="Removes Risk table data and deletes all the rows"
> > imageMso="TableRowsDeleteExcel"/>
> > <button id="AppendRow"
> > label="Append Row"
> > onAction="MyMacro"
> > screentip="Appends new row to Risk table"
> > imageMso="TableRowsInsertBelowExcel"/>
> > <button id="DeleteRow"
> > label="Delete Row"
> > onAction="MyMacro"
> > screentip="Deletes selected rows from Risk table - Except the first row!"
> > imageMso="TableRowsDeleteExcel"/>
> > </group>
> > </tab>
> > </tabs>
> > </ribbon>
> > </customUI>
> >
> > ---------------------------------------
> >
> > ---------------------------------------
> > Thanks
> > - Pat

> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CustomUI: Clone of gallery "SlideLayoutGallery" Luca Brasi Microsoft Powerpoint 2 8th Jun 2009 08:42 AM
Excel 2007: top of screen "File Name [Group]", how to remove [Grou =?Utf-8?B?TGlnaHRqYWc=?= Microsoft Excel Misc 2 24th May 2007 07:35 PM
Control Windows Services through grou policy =?Utf-8?B?SnVzdGlu?= Microsoft Windows 2000 Group Policy 5 19th Mar 2005 05:47 AM
Need to stop Outlook Displaying "Drag a Column Header Here to Grou =?Utf-8?B?QyBKIFNvdXRoZXJu?= Microsoft Outlook Discussion 1 14th Feb 2005 09:11 PM
Re: Need to stop Outlook Displaying "Drag a Column Header Here to Grou Milly Staples [MVP - Outlook] Microsoft Outlook Discussion 0 14th Feb 2005 02:32 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:06 PM.