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:-
This produced the following error 'Run Time Error '380': Could not set the value property. Invalid value property'
So I also tried:-
and then
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:-
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
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