Excel 97 VBA: Multipage set focus method

  • Thread starter Thread starter David
  • Start date Start date
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
 
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
 
Multipage1.Value = 0

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

Assume that is what you are asking.
 
Back
Top