PC Review


Reply
Thread Tools Rate Thread

Dynamic ComboBox Reference

 
 
Kigol
Guest
Posts: n/a
 
      25th Jun 2007
Hello,

Is there any way to dynamically refer to an object on a Form such as
the two methods listed below for 18 different ComboBoxes? Neither
work. I know there must be a way. Thanks.

Call Get_Headings(columnarray())

For i = 1 To 18
Me.Controls("ComboBox" & i).List
'ComboBoxi.List = columnarray
Next i

 
Reply With Quote
 
 
 
 
Kigol
Guest
Posts: n/a
 
      25th Jun 2007
On Jun 25, 12:19 pm, Kigol <raw4...@aol.com> wrote:
> Hello,
>
> Is there any way to dynamically refer to an object on a Form such as
> the two methods listed below for 18 different ComboBoxes? Neither
> work. I know there must be a way. Thanks.
>
> Call Get_Headings(columnarray())
>
> For i = 1 To 18
> Me.Controls("ComboBox" & i).List
> 'ComboBoxi.List = columnarray
> Next i


Haha I forgot to set the list equal to something. How embarrasing.
Please delete.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Combobox Dennis Microsoft Excel Programming 2 6th Apr 2008 08:28 AM
How do i set up a 3d reference where one cell reference is dynamic SmilingSteve Microsoft Excel Misc 15 14th Mar 2008 05:05 AM
dynamic combobox john_t_h Microsoft Excel Programming 8 11th Sep 2005 02:03 PM
Dynamic ComboBox Helen Microsoft Excel Programming 2 7th Dec 2004 08:57 PM
Load dynamic data into comboBox based on input in ComboBox =?Utf-8?B?SmFzb24gU21pdGg=?= Microsoft Dot NET Framework Forms 1 31st May 2004 05:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:16 PM.