![]() ![]() ![]() Option Explicit Public myRibbon As IRibbonUI Public myTag As String Sub RibbonLoaded(ribbon As IRibbonUI) Set myRibbon = ribbon End Sub Sub GetLabel(control As IRibbonControl, ByRef myLabel) Dim strLabel As String strLabel = activedocument.Variables("RibbonLabel").Value Select Case control.ID Case "MyTools" myLabel = strLabel Case Else myLabel = "PB" End Select End Sub Sub testrefresh() RefreshRibbon ("Tab*") End Sub Sub RefreshRibbon(tag As String) myTag = tag If myRibbon Is Nothing Then '''''''''IT ERRORS HERE MsgBox "Error" Else myRibbon. I found some code at Ron de Bruin’s Web site to refresh, but I can't get it to work. I need it to refresh without closing and reopening, ie on the fly. I can only get it to work when the document is re-opened. All Microsoft Templates > Posters 1-24 of 217 Templates > Your Selections. Yoursumbuddys Ribbon CustomUI Editor is an addin for adding, editing and validating your ribbon XML directly from Excel. Depending on a users selection, I want to rename the tab to "Tab B" or "Tab C", etc. Customize Customize your design with simple yet powerful editing tools. Use OCR to Recognize Characters when Converting PDFs to MS Office Formats. ![]() I've used the Custom UI Editor for Microsoft Office to customise the ribbon. The Free Version of the PDF-XChange Editor is a light weight, easy to use. I need to be able to change the name of the custom tab on my ribbon on the fly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |