Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Multipage: [Me.Controls("Page" & i).Name] does not work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zurn - 24 Mar 2006 08:33 GMT
A usefull code is working with .Controls
eg I have several txtboxes named txtHallo1 txtHallo2 ...

for iCH = 1 to ...
Me.Controls("txtHallo" & iCH).text
next iCH

My problem;
How can you do this for multipage pages?

Me.Multisheet.Page1
Me.Multisheet.Page2
Me.Multisheet.Page3
Me.Multisheet.Page4
Me.Multisheet.Page5

Is there a special shortcut? because me.controls("Page" & iCH) does not
work.

Zurn

Signature

Zurn

papou - 24 Mar 2006 08:51 GMT
Hello
For i = 0 To Me.MultiPage1.Pages.Count - 1
MsgBox Me.MultiPage1.Pages(i).Caption
Next i

HTH
Cordially
Pascal
Zurn - 24 Mar 2006 09:07 GMT
Off course! I was blinded by the Controls that I did not think about
this.

Thanks Papou!

Signature

Zurn

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.