Solved

Show one page in Multipage form first

Posted on 2000-05-09
1
136 Views
Last Modified: 2010-05-02
What do I do to always start on the same page (the first) in a Multipage form? As it is I don't know which page is shown when the multipage form is loaded.
0
Comment
Question by:davidsen
1 Comment
 
LVL 17

Accepted Solution

by:
calacuccia earned 50 total points
ID: 2791963
Hi Davidsen,

Put this line of code in the UserForm1_Initialize event:

Private Sub UserForm_Initialize()
MultiPage1.Value = 0
End Sub

The value of 0 assigned to the Multipage control will set focus on the first page.

Changing numbers to 1, 2, 3 will set focus to other pages.

Good Luck
Calacuccia
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question