Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default 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" wrote in message
...
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
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
Number of pages in worksheet doesn't match Print Preview pages delru Excel Discussion (Misc queries) 2 May 10th 10 10:08 PM
How do I delete pages in Excel? Keeps printing blank pages at end. Jojobean Charts and Charting in Excel 1 May 31st 07 07:37 AM
Need Help -- Baseball stats in excel only has 23 pages--Need to addmore pages.. GE Cathey Setting up and Configuration of Excel 7 May 17th 07 09:42 PM
Need Help -- Baseball stats in excel only has 23 pages--Need to addmore pages... GE Cathey Excel Worksheet Functions 1 May 16th 07 08:17 PM
How do I delete pages from an Excell template of mutiple pages pulcom123 Excel Discussion (Misc queries) 2 December 30th 05 04:41 PM


All times are GMT +1. The time now is 07:49 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"