Excel 97 VBA: Multipage set focus method

D

David

I can't work out how to set the focus on a particular page
of a multipage control.

MultiPage1.SetFocus

The above gives the whole page control the focus but I
want to select Page1 in particular.

Many thanks


David
 
C

Chip Pearson

David,

Use the Value property. A Value of 0 is the first page, 1 is the second
page, and so on. E.g.,

Me.MultiPage1.Value = 0 ' go to page 1
 
T

Tom Ogilvy

Multipage1.Value = 0

makes the first page the visible page. The page numbers are zero based.

Assume that is what you are asking.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top