Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Select Multipage by name?

I have a multipage on a form with one particular page named "p13". Can I
select that page by its name "p13"?

Excel 2003.

--
|
+-- Julian
|



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Select Multipage by name?

No you use the value property of the multipage.
Me.MultiPage1.Value = 0 'Page 1


--
Regards Ron de Bruin
http://www.rondebruin.nl




"Julian" wrote in message ...
I have a multipage on a form with one particular page named "p13". Can I select that page by its name "p13"?

Excel 2003.

--
|
+-- Julian
|





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Select Multipage by name?

But maybe you want this for a page named "ron" (Name not caption)

Me.MultiPage1.Value = Me.MultiPage1.Pages("ron").Index


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Ron de Bruin" wrote in message ...
No you use the value property of the multipage.
Me.MultiPage1.Value = 0 'Page 1


--
Regards Ron de Bruin
http://www.rondebruin.nl




"Julian" wrote in message ...
I have a multipage on a form with one particular page named "p13". Can I select that page by its name "p13"?

Excel 2003.

--
|
+-- Julian
|







  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Select Multipage by name?

You could use something like:

With Me.MultiPage1
.Value = .Pages("p13").Index
End With

You did mean the name, not the caption, right?


Julian wrote:

I have a multipage on a form with one particular page named "p13". Can I
select that page by its name "p13"?

Excel 2003.

--
|
+-- Julian
|


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Select Multipage by name?

Dave & Ron,

That's exactly what I was after, a bit long winded but useful.

FYI, I thought that if you could do:

Range("MyNamedRange").Select

Then it seems strange that you can't do the same with Multipages. LoL


--

|
+-- JDMils
|

"Dave Peterson" wrote in message
...
You could use something like:

With Me.MultiPage1
.Value = .Pages("p13").Index
End With

You did mean the name, not the caption, right?


Julian wrote:

I have a multipage on a form with one particular page named "p13". Can I
select that page by its name "p13"?

Excel 2003.

--
|
+-- Julian
|


--

Dave Peterson





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 tab? capt Excel Discussion (Misc queries) 2 January 28th 08 08:01 PM
How do I use multipage Lawrence M Watt Excel Discussion (Misc queries) 1 October 24th 05 02:55 PM
Userform, multipage, select a tab Jos Vens[_2_] Excel Programming 2 February 28th 05 04:11 PM
Multipage Aksel Børve Excel Programming 1 March 1st 04 08:52 AM
MultiPage Michael[_25_] Excel Programming 3 January 6th 04 12:49 PM


All times are GMT +1. The time now is 06:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"