|
-
Jan 17th, 2005, 05:08 AM
#1
Thread Starter
New Member
ComboBox Array
Hi All
I've been trying to populate a combobox with an array of all the month of the year, but with no luck.
There is probably a simpel task if you know how 
I'm doing this in Excel 97 and I would like to use VBA rather than a cell range.
All help are appreciated
Thanks
Last edited by [nordis]; Jan 17th, 2005 at 06:59 AM.
-
Jan 18th, 2005, 01:20 PM
#2
Re: ComboBox Array
Try this, where ComboBox1 is your control:
VB Code:
For iCount = 1 To 12
ComboBox1.AddItem (Format$(DateAdd("m", iCount, 0), "mmmm"))
Next iCount
-
Jan 24th, 2005, 01:09 PM
#3
Thread Starter
New Member
Re: ComboBox Array
Thanks Comintern
I'll try that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|