Userform Multipage Show method 'object required' error

DutchWard

New Member
Joined
Jul 7, 2016
Messages
2
Hi guys,

I'm quite new VBA coding, and particularly to coding for UserForms. I'm trying to make a UserForm tool to enter information into a database. I have created a number of UserForms which I want to link with buttons such as Next or OK. The .Show method works fine for most UserForms I have made. But, there is one with a Multipage on it and when I use the .Show method I get a run-time error '424' object required. Below is the code I have used.

Code:
Unload BankSelectionForm


GeneralInformationForm.Show

GeneralInformationForm is the correct name and spelling because I copied the name over. I have also tried the following:

Code:
With GeneralInformationForm
    .MultiPage1.Value = 0
   .Show
End With

I read in a post somewhere that this could help. But it doesn't. I get the same error. I have also tried declaring and setting GeneralInformationForm, but maybe I'm doing something wrong, and I didn't do it for other UserForms and they work, so I'm not sure it's even necessary.

Any help would be greatly appreciated!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Try putting .Show first

Also you can change the MultiPage settings in a UserForm_Initialize() event
 
Last edited:
Upvote 0
Hi Tygrrboi,

Thanks for your quick reply. I hadn't tried that yet. Just tried it now, but I still get the same run-time error 424 object required.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,488
Members
448,967
Latest member
visheshkotha

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