Thank you so much for your kind words. How nice that this thread has benefited yourself and others.
To answer your question, yes, you can limit the custom right-click menu to a specific sheet and, if desired, a specific range within which the active cell resides.
For example, suppose you want the custom right-click menu to kick in when Sheet2 is active. And further suppose your range of interest is C5:D10. The following events all go into the workbook module, in place of the event code that was posted previously in this thread. The other 3 original macros (RightKlickMenuReeset, RightKlickMenuMayker, wbActivayte) all stay the same, no changes with them.
Notice the 2 lines that are bolded which manage the sheet and range specifications.
When I develop projects for others, I almost never refer to sheets as their tab name, as I show here, but rather as their codename that you see in the Project window of the VBE. This is because worksheet tab names can change but a worksheet codename will not be changeable unless someone with access to the VBE changes the codename, or deletes the sheet of interest and re-creates the sheet with the same look and feel but with a different codename. So for example this line that depends on the tab name...
If ActiveSheet.Name <> "Sheet2" Then Exit Sub
...would look like this if it depended on the worksheet object's codename and not the tab name.
If ActiveSheet.CodeName <> "Sheet2" Then Exit Sub
Private Sub Workbook_Open()
If ActiveSheet.Name <> "Sheet2" Then Exit Sub
If Intersect(ActiveCell, Range("C5:D10")) Is Nothing Then Exit Sub
Run "RightKlickMenuMayker"
MsgBox "Right click any worksheet cell for a list of open workbooks" & vbCrLf & _
"that you can click to select and immediately navigate to.", 64, "Navigation tip"
End Sub
Private Sub Workbook_Activate()
If ActiveSheet.Name <> "Sheet2" Then Exit Sub
If Intersect(ActiveCell, Range("C5:D10")) Is Nothing Then Exit Sub
Run "RightKlickMenuMayker"
End Sub
Private Sub Workbook_Deactivate()
Run "RightKlickMenuReeset"
End Sub
Private Sub Workbook_BeforeClose(Cancel As Boolean)
Run "RightKlickMenuReeset"
End Sub
Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
If ActiveSheet.Name <> "Sheet2" Then Exit Sub
If Intersect(ActiveCell, Range("C5:D10")) Is Nothing Then Exit Sub
If Workbooks.Count = 1 Then Exit Sub
Cancel = True
Application.CommandBars("wbNavigator").ShowPopup
End Sub