View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
OssieMac OssieMac is offline
external usenet poster
 
Posts: 2,510
Default Default multi page


Set the Multipage value first before opening form

Mymain.MultiPage1.Value = 0 'Where zero is page1, 1 is Page 2 etc
Mymain.Show

--
Regards,

OssieMac


"Bill" wrote:

Have read the other Q&A's on default multipage and still cant get it to work
Want to open on page 0, on open, here is code

Workbook opens and immediatly displays user form

Private Sub workbook_open()

MsgBox "Agree to confidentiality message"
Mymain.Show
'need to default to page 0 the first page
'mymain is name of user form
Mymain.MultiPage1.Value = 0
Mymain.MultiPage1.Pages(1).Visible = True

End Sub

Thanks in advance from australia