Run-time error -2147352571 (80020005) Type Mismatch

krissz

Board Regular
Joined
Feb 21, 2010
Messages
95
I have suddenly started getting this error on the command "Main_Menu.Show" where Main_Menu is a form. This has been working perfectly till now. The only changes to the spreadsheet have been the addition of 3 new sheets, some new columns in one sheet, changes/additions to some equations plus the necessary extra subs to deal with this. There has been no changes to the form.
A web search revealed one suggestion, to do with Add-ins. Tried that but no help.
I have an original backup (which works) but am loath to abandon a day's work.
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
I have been experimenting on backups. With the only changes being to the data, this error keeps occuring.
Searching around, I gather that a solution may be to first define the UserForm. Any suggestions on how to do this, as just adding Dim Main_Menu as UserForm causes more error messages.
 
Upvote 0

Forum statistics

Threads
1,215,457
Messages
6,124,941
Members
449,197
Latest member
k_bs

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