Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 553
Default Control Hierarchies in Userforms

I have a userform (Userform1) which has a multipage control (Mulitpage1) on
it. I then have several pages in this multipage control. On the first page
I hava a combobox(ComboBox1). When I have using a With End stmt I can call
up the following:

With ComboBox1
or
With Userform1.ComboBox1
or
Userform1.Multipage1

However, I cannot drill down to the page that the combobox is on:
Userform1.Multipage1.Page(1).Combobox1 or whatever is equivalent.

Why is this? The reason I want to do this is that I will have a lot of
controls spread around multiple pages. It would be helpful to see the full
heirarchy in the with stmtm. I guess otherwise I will have to name the
control with this information to get around this.

Thanks

EM
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
2007 Form Control/ActiveX Control font difference Nikko963 Excel Discussion (Misc queries) 0 April 15th 09 04:21 PM
Control arrays on Excel 2007 userforms Informative Excel Discussion (Misc queries) 1 February 26th 08 09:36 PM
Formatting Attribute Hierarchies John Excel Discussion (Misc queries) 0 August 20th 07 09:24 PM
Calendar Control: Can't exit design mode because control can't be created Rone Excel Programming 0 May 24th 04 04:01 PM
Set Focus on Control at Creation in Dialogs, I mean UserForms GJones Excel Programming 0 May 4th 04 02:15 PM


All times are GMT +1. The time now is 01:35 PM.

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"