Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Multipage programming

How do I nagigate between pages in a multipage control?

I have a primary multipage control with 5 tabs and each of
these has a multipage control with multiple tabs.

I am trying to setup a "Next" "Previous" method of
navigating -- like a wizard.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Multipage programming

John,

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


Private Sub btnBack_Click()
With Me.MultiPage1
If .Value 0 Then
.Value = .Value - 1
End If
End With
End Sub

Private Sub btnNext_Click()
With Me.MultiPage1
If .Value < .Pages.Count - 1 Then
.Value = .Value + 1
End If
End With
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"John Flynn" wrote in message
...
How do I nagigate between pages in a multipage control?

I have a primary multipage control with 5 tabs and each of
these has a multipage control with multiple tabs.

I am trying to setup a "Next" "Previous" method of
navigating -- like a wizard.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Multipage programming

Chip,
This selected the TAB but for me it does not repaint the
multipage and show the items within the pages associated
with the TABS. The controls associated with the first page
of the multipage are the only ones shown. What am I doing
wrong? Excel XP

-----Original Message-----
John,

Use the Value property of the Multipage. A Value of 0 is

the first page, 1
is the second page, and so on. E.g.,


Private Sub btnBack_Click()
With Me.MultiPage1
If .Value 0 Then
.Value = .Value - 1
End If
End With
End Sub

Private Sub btnNext_Click()
With Me.MultiPage1
If .Value < .Pages.Count - 1 Then
.Value = .Value + 1
End If
End With
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"John Flynn" wrote

in message
...
How do I nagigate between pages in a multipage control?

I have a primary multipage control with 5 tabs and each

of
these has a multipage control with multiple tabs.

I am trying to setup a "Next" "Previous" method of
navigating -- like a wizard.

Thanks



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
stu stu is offline
external usenet poster
 
Posts: 3
Default Multipage programming


-----Original Message-----
Chip,
This selected the TAB but for me it does not repaint the
multipage and show the items within the pages associated
with the TABS. The controls associated with the first

page
of the multipage are the only ones shown. What am I doing
wrong? Excel XP

-----Original Message-----
John,

Use the Value property of the Multipage. A Value of 0 is

the first page, 1
is the second page, and so on. E.g.,


Private Sub btnBack_Click()
With Me.MultiPage1
If .Value 0 Then
.Value = .Value - 1
End If
End With
End Sub

Private Sub btnNext_Click()
With Me.MultiPage1
If .Value < .Pages.Count - 1 Then
.Value = .Value + 1
End If
End With
End Sub


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"John Flynn" wrote

in message
...
How do I nagigate between pages in a multipage control?

I have a primary multipage control with 5 tabs and

each
of
these has a multipage control with multiple tabs.

I am trying to setup a "Next" "Previous" method of
navigating -- like a wizard.

Thanks



.

.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MultiPage tab? capt Excel Discussion (Misc queries) 2 January 28th 08 08:01 PM
MultiPage OM Excel Discussion (Misc queries) 2 April 7th 06 01:31 PM
How do I use multipage Lawrence M Watt Excel Discussion (Misc queries) 1 October 24th 05 02:55 PM
Multipage on userforms Darren[_6_] Excel Programming 1 September 29th 03 07:18 PM
Multipage Paul Excel Programming 1 July 9th 03 02:34 PM


All times are GMT +1. The time now is 11:48 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"