Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default String array to a comboBox

Greetings,

I have a function which returns an array of strings, I wish to fill my
combobox with this array by doing something like the following

cmbBoxList.addItem manager.GetStringArray

This doesn't work. I can add them obviously by getting the array and looping
through the array adding each String one by one. Just wondering if there is a
better way that I may be missing.

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default String array to a comboBox

Ignore this thread, I was being stupid and forgot about ComboBoxs List
property/method.

Sorry about that.

"NateBuckley" wrote:

Greetings,

I have a function which returns an array of strings, I wish to fill my
combobox with this array by doing something like the following

cmbBoxList.addItem manager.GetStringArray

This doesn't work. I can add them obviously by getting the array and looping
through the array adding each String one by one. Just wondering if there is a
better way that I may be missing.

Thanks in advance.

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
Set string variable to word displayed in a combobox Graham Whitehead Excel Programming 1 July 28th 06 02:24 PM
ComboBox and 2 Dim array Dave Taylor[_2_] Excel Programming 0 October 9th 04 02:38 PM
ComboBox and 2 Dim array Dave Taylor Excel Programming 1 October 9th 04 12:13 AM
Passing a String in Array to Range as String [email protected] Excel Programming 2 September 1st 04 01:13 AM
Combobox array Lawlera Excel Programming 1 January 19th 04 07:06 PM


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

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"