Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Multipage problem

I have 4 CommandButtons in a sheet. Each button opens the same form with a multipage on it. Each CommandButton must open a specific page in the multipage. I call my form like this

MyForm.Sho
MyForm.MultiPage1.Value =
DoEvent

The first time I click the CommandButton it opens the last used page in the multipage instead of calling the page I want. If i close my form and call it for the second time, using the same button, I get the page I want
DoEvents Doesn't seem to have any affect at all.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default SV: Multipage problem

I use Excel 2003
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Multipage problem

if i well understand, try:
pages and index e.g.

MyForm.MultiPage1.Pages(1).Index = 1

HTH
Regards
Mark

-----Original Message-----
I have 4 CommandButtons in a sheet. Each button opens the

same form with a multipage on it. Each CommandButton must
open a specific page in the multipage. I call my form like
this:

MyForm.Show
MyForm.MultiPage1.Value = 3
DoEvents

The first time I click the CommandButton it opens the

last used page in the multipage instead of calling the
page I want. If i close my form and call it for the second
time, using the same button, I get the page I want!
DoEvents Doesn't seem to have any affect at all.
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default SV: Multipage problem

I don't want to change the placement of the pages, I just want to get focus on the selected page!
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Multipage problem

Grüezi akyhne

akyhne schrieb am 24.05.2004

I have 4 CommandButtons in a sheet. Each button opens the same form with
a multipage on it. Each CommandButton must open a specific page in the
multipage. I call my form like this:

MyForm.Show
MyForm.MultiPage1.Value = 3
DoEvents

The first time I click the CommandButton it opens the last used page in
the multipage instead of calling the page I want. If i close my form and
call it for the second time, using the same button, I get the page I
want!


Just define the Value of the multipage and show it then, so switch your
code-lines:

MyForm.MultiPage1.Value = 3
MyForm.Show

--
Regards

Thomas Ramel
- MVP for Microsoft-Excel -

[Win XP Pro SP-1 / xl2000 SP-3]


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default SV: Multipage problem

Danke schön Thomas
Funktioniert!
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
Excel 2003 - Multipage problem ekwong Excel Programming 10 July 22nd 04 03:56 PM
MultiPage UserForm Printing Problem jennie Excel Programming 1 May 18th 04 01:26 PM
MultiPage problem Aksel Børve Excel Programming 4 March 6th 04 04:40 PM
Multipage Paul Excel Programming 1 July 9th 03 02:34 PM


All times are GMT +1. The time now is 08:52 AM.

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"