PC Review


Reply
Thread Tools Rate Thread

Array & ComboBox

 
 
Gordon
Guest
Posts: n/a
 
      7th Jun 2007
ComboBox Initalze will not reconize Public MyArray()

Declaration: Public MyArray() As String
( do not know how many entries into array)

Sub Test()
ReDim Perserve MyArray(1)
My Array(1) = ActiveCell

XXX.Show (ComboBox)
Initialze will not reconize MyArray

2nd Question
How do you load List in ComboBox from an Array?

Thanks again
GJ

 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      7th Jun 2007
MyArray = ActiveCell
ComboBox1.Value = MyArray

and

MyArray = Range("H10:H12")
ComboBox1.List = MyArray



--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Gordon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> ComboBox Initalze will not reconize Public MyArray()
>
> Declaration: Public MyArray() As String
> ( do not know how many entries into array)
>
> Sub Test()
> ReDim Perserve MyArray(1)
> My Array(1) = ActiveCell
>
> XXX.Show (ComboBox)
> Initialze will not reconize MyArray
>
> 2nd Question
> How do you load List in ComboBox from an Array?
>
> Thanks again
> GJ
>



 
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
How do I put an array into a combobox Frits.van Leeuwen Microsoft Access 7 18th Mar 2010 10:24 AM
ComboBox and 2 Dim array Dave Taylor Microsoft Excel Programming 0 9th Oct 2004 02:38 PM
Help with a combobox and array Jools Microsoft Excel Misc 2 21st Aug 2004 12:29 AM
ComboBox Name array Stacy Microsoft Excel Programming 1 25th Jul 2003 04:07 PM
Re: Array into Combobox Fidel Microsoft Access 0 30th Jun 2003 09:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:30 PM.