+ Reply to Thread
Results 1 to 4 of 4

Multipage on a userform

  1. #1
    browie
    Guest

    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. #2
    Forum Contributor
    Join Date
    01-21-2005
    Location
    Colorado
    MS-Off Ver
    2000,2003,2007
    Posts
    481
    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.

    Please Login or Register  to view this content.
    HTH

  3. #3
    Bob Phillips
    Guest

    Re: 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" <laptopgb@ihug.com.au> wrote in message
    news:d8mtfl$sr2$1@lust.ihug.co.nz...
    > 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. #4
    Greg
    Guest

    Re: Multipage on a userform

    Thanks For your help

    Greg Brow
    "bhofsetz" <bhofsetz.1qmluh_1118768720.944@excelforum-nospam.com> wrote in
    message news:bhofsetz.1qmluh_1118768720.944@excelforum-nospam.com...
    >
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1