MenuBars(xlWorksheet).Reset causes 50290 Run Time Error in Excel 2013

PoggiPJ

Active Member
Joined
Mar 25, 2008
Messages
330
Due to a mixed 2003, 2007, 2010, 2013 environment, we have postponed modifying the ribbon, and instead use the menubar to provide our users with application specific menu options. This worked without incident, until one of our users upgraded from Excel 2007 to Excel 2013 Office Professional Plus. Now when he runs the application he receives...

Run-time Error '50290'
Application-defined or object-defined error

The code is pretty simple.
Code:
Private Sub Workbook_Deactivate()
'Reset any prior menu bar changes
    MenuBars(xlWorksheet).Reset
End Sub

I've asked the user to compare references but have not yet heard back. I will also ask if he completely un-installed the old MS Office prior to installing 2013.
Any other thoughts would be much appreciated.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,215,949
Messages
6,127,888
Members
449,411
Latest member
AppellatePerson

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