Mark Douglas
Member
- Joined
- Mar 29, 2006
- Messages
- 9
- Programming Experience
- Beginner
This is probably a super easy question, and I've searched the forms so I'm stuck probably because its so basic. Sorry.
So I made a basic form, that I'm writing to an excel file. Well I enter the information into the Combobox hit my GO button to write the information to the excel file.
Well in the excel file I get this. System.Windows.Forms.ComboBox, Items.Count: 2
When it should be the string from the combobox. Here is the code I'm using.
xlSheet.Cells.Item(1, 1) = ListBox1 I think the = Listbox1 is where I'm off right?
This is what I've been doing in VBA. Hence where I think I'm going about this all wrong.
Thanks for any help!!
So I made a basic form, that I'm writing to an excel file. Well I enter the information into the Combobox hit my GO button to write the information to the excel file.
Well in the excel file I get this. System.Windows.Forms.ComboBox, Items.Count: 2
When it should be the string from the combobox. Here is the code I'm using.
xlSheet.Cells.Item(1, 1) = ListBox1 I think the = Listbox1 is where I'm off right?
This is what I've been doing in VBA. Hence where I think I'm going about this all wrong.
Thanks for any help!!