Solved

Show one page in Multipage form first

Posted on 2000-05-09
1
135 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA saving file message display 5 67
Using "ScreenUpdating" 6 65
Sending a email via excel using vba 6 82
Prevent user closing word document opened with VB6 6 74
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

777 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