Refreshing Ribbon

S

Sam Chiwaura

Can someone help. Am failing to refresh my ribbon. I get an error that says
object does not support this property when i use refresh. here is the code
below

Function MyRibInvalidate()
On Error GoTo Errhandler
MyRibbon.InvalidateControl ("Setup")
MyRibbon.InvalidateControl ("mnuprocess")
'("Munprocess")
' Invalidates the caches of all of this add-in’s controls
MyRibbon.Refresh ' ******this line is causing the error
'‘ Refreshes the entire Ribbon UI
End Function

Thanks in advance
 

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