Hi All,

I am sure you guys would be able to help me.

I have a UserForm with multiple pages. I have tried different code settings, but cannot seem to get my page 1 to display when the UserForm is launched, with ALL other pages grayed out until the next button is clicked.

Here is my code, and thanks in advance!:


Private Sub UserForm2_Initialize()

Dim i As Integer
i = Me.MultiPage1.Value

MultiPage1.Pages(0).Caption = "Personal Detail"
MultiPage1.Pages(1).Caption = "Examinations1"
MultiPage1.Pages(2).Caption = "Examinations1"
MultiPage1.Pages(3).Caption = "Closing"

MultiPage1.Pages(0).Enabled = True
MultiPage1.Pages(1).Enabled = False
MultiPage1.Pages(2).Enabled = False
MultiPage1.Pages(3).Enabled = False

MultiPage1.Value = 0

End Sub