MultiPage UserForm sees runtime error 380 invalid property value

JasonExcel

New Member
Joined
Mar 9, 2018
Messages
6
Hi All

I am trying to get my Excel VBA UserForm to launch at page 3 on initialisation.

To accomplish this I inserted the following code into my project:-

Code:
Private Sub UserForm_Initialize()

UserForm1.MultiPage1.Value = 3

End Sub

This produced the following error 'Run Time Error '380': Could not set the value property. Invalid value property'

So I also tried:-

Code:
me.MultiPage1.Value = 3

and then

Code:
MultiPage1.Value = 3

I still got the same error. Oddly though, the following code works to launch a different tab, albeit that it isn't the tab that I need the sheet to open on:-

Code:
MultiPage1.Value = 2

There are definitely three pages on my multipage form and the (Name) showing under properties for my desired launch page is Page3

I'm sure there's an easy enough explanation for this but I just can't seem to see it...

Thank you
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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