Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Dynamically name MultiPage Pages

I'm using the statement

UserForm1.MultiPage1.Page1.Caption = "whatever"

to name the pages of my Multipage.

I want to use a loop to name pages 1 through 20 similar to:

While j < 20

UserForm1.MultiPage1.Page & j & .Caption = "whatever"

j = j + 1

Wend

But that is apparently not the right syntax or maybe concatenating j as
an integer is wrong?

Regards
JakeyC

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default Dynamically name MultiPage Pages

I think I have it!

....

PageTitle = "Page" & j

With Backcheck.MultiPage1.Pages(PageTitle)
..Caption = "Whatever"

....

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
Printing subset of pages dynamically using excel macros nsgargya Excel Discussion (Misc queries) 1 September 28th 05 08:18 PM
Multipage Control Pages - Changing Index Value in Code misseill Excel Programming 1 July 13th 05 04:55 PM
Multipage Control Pages - Changing Index Value in Code misseill Excel Programming 0 July 13th 05 04:32 PM
how to make a multipage with many pages all of which can be seen easily. youngman Excel Programming 3 October 8th 03 01:53 AM
Displaying different pages in MultiPage Joepy Excel Programming 0 August 11th 03 01:03 PM


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