Solved

Show one page in Multipage form first

Posted on 2000-05-09
1
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

730 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