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

I have just put a mulitpage on the userform it has 8 pages, is it possible
to name the individual pages to the same as in cell a2 - a9 on worksheet
called teams.

Thanks in advance

Browie


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Multipage on a userform


Put this in the code behind your userform.
I'm sure there is a way to loop through your pages and source range but
this is a quick solution for your situation.


Code:
--------------------
Private Sub UserForm_Initialize()
MultiPage1.Page1.Caption = Range("A2").Value
MultiPage1.Page2.Caption = Range("A3").Value
MultiPage1.Page3.Caption = Range("A4").Value
MultiPage1.Page4.Caption = Range("A5").Value
MultiPage1.Page5.Caption = Range("A6").Value
MultiPage1.Page6.Caption = Range("A7").Value
MultiPage1.Page7.Caption = Range("A8").Value
MultiPage1.Page8.Caption = Range("A9").Value
End Sub
--------------------


HTH


--
bhofsetz
------------------------------------------------------------------------
bhofsetz's Profile: http://www.excelforum.com/member.php...o&userid=18807
View this thread: http://www.excelforum.com/showthread...hreadid=379050

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Multipage on a userform

Dim i As Long
For i = 0 To 7
Me.MultiPage1.Pages(i).Caption = Worksheets("teams").Range("A" & i +
2).Value
Next i


--
HTH

Bob Phillips

"browie" wrote in message
...
I have just put a mulitpage on the userform it has 8 pages, is it possible
to name the individual pages to the same as in cell a2 - a9 on worksheet
called teams.

Thanks in advance

Browie




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Multipage on a userform

Thanks For your help

Greg Brow
"bhofsetz" wrote in
message ...

Put this in the code behind your userform.
I'm sure there is a way to loop through your pages and source range but
this is a quick solution for your situation.


Code:
--------------------
Private Sub UserForm_Initialize()
MultiPage1.Page1.Caption = Range("A2").Value
MultiPage1.Page2.Caption = Range("A3").Value
MultiPage1.Page3.Caption = Range("A4").Value
MultiPage1.Page4.Caption = Range("A5").Value
MultiPage1.Page5.Caption = Range("A6").Value
MultiPage1.Page6.Caption = Range("A7").Value
MultiPage1.Page7.Caption = Range("A8").Value
MultiPage1.Page8.Caption = Range("A9").Value
End Sub
--------------------


HTH


--
bhofsetz
------------------------------------------------------------------------
bhofsetz's Profile:
http://www.excelforum.com/member.php...o&userid=18807
View this thread: http://www.excelforum.com/showthread...hreadid=379050



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 Userform Events SA3214 Excel Programming 7 April 13th 05 09:03 PM
Userform, multipage, select a tab Jos Vens[_2_] Excel Programming 2 February 28th 05 04:11 PM
Problems with the userform multipage Wilbo Excel Programming 0 October 19th 04 09:46 AM
Problems with the userform multipage Wilbo Excel Programming 1 October 19th 04 09:09 AM
MultiPage UserForm Michael J. Malinsky Excel Programming 2 July 16th 03 01:02 PM


All times are GMT +1. The time now is 06:19 AM.

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"