gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,340
Office Version
  1. 365
Platform
  1. Windows
Someone sent me a workbook to look at "because its no longer working". What they sent was an XLA file. They said it use to add a ribbon to their tool bar but now it doesn't work with the latest version of XLS.

Is this just missing a tool pack or Add-in that needs to be activated in her latest version of Excel? Any suggestions or help would be appreciated. Searching now on the internet but not finding much.

The sheet has some forms and a RibbonX_Code Module.

But the sheets don't open for me.
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Someone sent me a workbook to look at "because its no longer working". What they sent was an XLA file. They said it use to add a ribbon to their tool bar but now it doesn't work with the latest version of XLS.

Is this just missing a tool pack or Add-in that needs to be activated in her latest version of Excel? Any suggestions or help would be appreciated. Searching now on the internet but not finding much.

The sheet has some forms and a RibbonX_Code Module.

But the sheets don't open for me.


'Get Culture
Private Function GetUICultureTag() As String
Dim shTemp As Worksheet
Dim sCulture As String
Dim sSheetName As String

sCulture = Application.International(xlUICultureTag)
sSheetName = "RES_" + sCulture

On Error Resume Next
Set shTemp = ThisWorkbook.Worksheets(sSheetName)
On Error GoTo 0
If shTemp Is Nothing Then sSheetName = GetFallbackTag(sCulture)

GetUICultureTag = sSheetName
End Function

'Entry point for RibbonX button click
Sub ShowATPDialog(control As IRibbonControl)
Application.Run ("fDialog")
End Sub

'Callback for RibbonX button label
Sub GetATPLabel(control As IRibbonControl, ByRef label)
label = ThisWorkbook.Sheets(GetUICultureTag()).Range("RibbonCommand").Value
End Sub

'Callback for screentip
Public Sub GetATPScreenTip(control As IRibbonControl, ByRef label)
label = ThisWorkbook.Sheets(GetUICultureTag()).Range("ScreenTip").Value
End Sub

'Callback for Super Tip
Public Sub GetATPSuperTip(control As IRibbonControl, ByRef label)
label = ThisWorkbook.Sheets(GetUICultureTag()).Range("SuperTip").Value
End Sub

Public Sub GetGroupName(control As IRibbonControl, ByRef label)
label = ThisWorkbook.Sheets(GetUICultureTag()).Range("GroupName").Value
End Sub

'Check for Fallback Languages
Public Function GetFallbackTag(szCulture As String) As String
If szCulture = "ca-ES" Or szCulture = "eu-ES" Or szCulture = "gl-ES" Then
GetFallbackTag = "RES_es-ES"
ElseIf szCulture = "nn-NO" Then
GetFallbackTag = "RES_nb-NO"
Else
GetFallbackTag = "RES_en-US"
End If
End Function
 
Upvote 0

Forum statistics

Threads
1,214,636
Messages
6,120,666
Members
448,977
Latest member
moonlight6

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top