View Single Post
  #8  
Old December 15th 06, 11:02 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Import Excel file to array to fill ComboBox

Sounds like MyArray isn't an array, even though that's what you named it. Can you show the code snippet you use to get MyArray?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Pentoast" wrote in message ups.com...
Ok, I figured that out and it works up to the point before the combobox
is populated by the information.

I get the error "Could not set the List property. Invalid property
Array Index." when it hits the line "Control.list() = MyArray"

I'm not sure how to properly index it.

Ads