Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX Separator problem
Hello
Does anyone know if there is a bug in the getVisble callback for the <separator tag. I am failing to make this item dissappear/appear on demand using code. I don't think it's me as I can do it OK with other elements. Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX Separator problem
Hi there,
Define "on demand". And post your code please. :) -- Zack Barresse "Cresta" wrote in message ... Hello Does anyone know if there is a bug in the getVisble callback for the <separator tag. I am failing to make this item dissappear/appear on demand using code. I don't think it's me as I can do it OK with other elements. Thanks |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX Separator problem
Hi Zack
The intention was for a button, a dropdown and a separator to either be visible or not, depending on the user that was opening the file. The callbacks were happening, as expected, as the file was being opened, and not "on demand". The button and dropdown getVisible callbacks worked as expected, but not the separators. The Sepatator getVisible callback I had is shown: Sub sep2_getVisible(ByRef control As IRibbonControl, ByRef ReturnValue As Variant) If InStr(UCase(Application.UserName), "XYZ") Then ReturnValue = True Else ReturnValue = False End If End Sub I wish I had checked the forum five minutes earlier, as I would have seen your message. But I have gone a different route with the ribbon to avoid this issue. However, does this sound like there's a bug or was it just me? Thanks "Zack Barresse" wrote: Hi there, Define "on demand". And post your code please. :) -- Zack Barresse "Cresta" wrote in message ... Hello Does anyone know if there is a bug in the getVisble callback for the <separator tag. I am failing to make this item dissappear/appear on demand using code. I don't think it's me as I can do it OK with other elements. Thanks |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX Separator problem
Hi,
According to the authors of the book RibbonX Customising the Office 2007 Ribbon this is a bug. It is always visible. Cheers Andy -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info "Cresta" wrote in message ... Hello Does anyone know if there is a bug in the getVisble callback for the <separator tag. I am failing to make this item dissappear/appear on demand using code. I don't think it's me as I can do it OK with other elements. Thanks |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
RibbonX Separator problem
Thanks Andy
"Andy Pope" wrote: Hi, According to the authors of the book RibbonX Customising the Office 2007 Ribbon this is a bug. It is always visible. Cheers Andy -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info "Cresta" wrote in message ... Hello Does anyone know if there is a bug in the getVisble callback for the <separator tag. I am failing to make this item dissappear/appear on demand using code. I don't think it's me as I can do it OK with other elements. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Use 100 separator inspite of 1000 separator in excel | Excel Worksheet Functions | |||
Hungarian excel problem with thousand separator | Excel Discussion (Misc queries) | |||
RibbonX: Problem with OnLoad | Excel Programming | |||
different ver Excel - problem with decimal separator (for experts) | Excel Programming | |||
international problem, decimal separator and chart series | Excel Programming |