Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

multi page user form 1

Status
Not open for further replies.

d23

Petroleum
Joined
Dec 8, 2002
Messages
297
Location
US
All,

I am using a "multi-page userform" to perform several static calculations in a file. The multi page user form always opens to the first sheet tab in the user form. Is there some way to open a multi page user form on a page (sheet tab) other than page 1?

Thanks
D23
 
davidbeach

It is in EXCEL.

D23
 
excel always opens to the worksheet it was on when closed.
 
davidbeach,

I'm asking about a userform (VB) in EXCEL, not the file.

D23
 
in the Form Initialize event set the multipage value equal to 0. Here is an example:

Private Sub UserForm_Initialize()
Me.MultiPage1.Value = 0
End Sub
 
satchmo,

Thnaks for the code. I have to add a few if's and I'm good to go!

D23
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top