Paul Sansom
Board Regular
- Joined
- Jan 28, 2013
- Messages
- 178
- Office Version
- 2021
- 2016
- Platform
- Windows
Hi
After rersetting the ribbon, my workbook is in run mode, and i cannot update the workbook sheets.
Is there a way that i can identify and repair the ribbon items that appear to be casuing the loop?
I am unclear on how to determine which item(s) are causing the ribbon to stay in run mode after invalidating and resetting it?
FYI - The workbook contains many sheets. 4 custom ribbon menus each with a variatey of buttons, editboxes and textboxes.
Any help/guidance on how to find loopy code much appreciated (or please advise if more information is needed)
Cheers Paul
My refresh ribbon code is below & I believe is pretty standard
After rersetting the ribbon, my workbook is in run mode, and i cannot update the workbook sheets.
Is there a way that i can identify and repair the ribbon items that appear to be casuing the loop?
I am unclear on how to determine which item(s) are causing the ribbon to stay in run mode after invalidating and resetting it?
FYI - The workbook contains many sheets. 4 custom ribbon menus each with a variatey of buttons, editboxes and textboxes.
Any help/guidance on how to find loopy code much appreciated (or please advise if more information is needed)
Cheers Paul
My refresh ribbon code is below & I believe is pretty standard
Code:
Sub RefreshRibbon(Tag As String)
MyTag = Tag
If Rib Is Nothing Then
Set Rib = GetRibbon(Sheet2.Range("RibRV").Value)
Application.StatusBar = " There was an error in the RibbonBar Initialisation - Reset in progress - please wait"
' Rib.Invalidate
Else
Rib.Invalidate
End If
End Sub