Hello,
I am creating a custom ribbon and am creating buttons with separators between them. While I am able to set the visibility as needed I want to set the visibility of the separator based on the buttons visibility.
As such how do you reference a specific control's visibility on a custom ribbon. Button1.visible = True does not work but instead returns a runtime error 424 object required. Setting to ribbonname.Button1.visible = true returns a runtime error 438, object doesn't support this property or method.
Does anyone know how to reference a control/button's properties?
I am creating a custom ribbon and am creating buttons with separators between them. While I am able to set the visibility as needed I want to set the visibility of the separator based on the buttons visibility.
As such how do you reference a specific control's visibility on a custom ribbon. Button1.visible = True does not work but instead returns a runtime error 424 object required. Setting to ribbonname.Button1.visible = true returns a runtime error 438, object doesn't support this property or method.
Does anyone know how to reference a control/button's properties?