+ Reply to Thread
Results 1 to 2 of 2

Pages on userform

  1. #1
    Greg
    Guest

    Pages on userform

    Hi all

    I am using the multipage option on a userform. It has 8 pages in it and I
    would like to have the names of each page to represent a certain cell value.

    Is this possible?

    Thanks Greg



  2. #2
    Robin Hammond
    Guest

    Re: Pages on userform

    Greg,

    This assumes page labels in first sheet first column.

    Private Sub UserForm_Initialize()
    Dim lCounter As Long
    With MultiPage1
    For lCounter = 0 To .Pages.Count - 1
    .Pages(lCounter).Caption = Sheets(1).Cells(lCounter + 1, 1)
    Next lCounter
    End With
    End Sub

    Robin Hammond
    www.enhanceddatasystems.com

    "Greg" <[email protected]> wrote in message
    news:[email protected]...
    > Hi all
    >
    > I am using the multipage option on a userform. It has 8 pages in it and I
    > would like to have the names of each page to represent a certain cell
    > value.
    >
    > Is this possible?
    >
    > Thanks Greg
    >
    >




+ 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