Private Sub Bt10_Click()
If Application.ExecuteExcel4Macro("SHOW.TOOLBAR(""Ribbon"",False)") Then
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
Lbt10.BackColor = vbRed
Bbt10.Caption = "Off"
Else
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
Lbt10.BackColor = vbGreen
Bbt10.Caption = "On"
End If
End Sub