joel;302362 Wrote:
I'm confused??????????
First you have a listbox not a combobox (both can have multiple
coluns).
Second you have no code to put the datta into the box. A initialize
form
function doesn't move data it is only the routine that is called when a
form
is opened. What line of code isn't working?
Thanks,
the userform contains both a listbox and a combobox, but the code
refers to the cbselect control (a combobox). You are right: I have not
reported the statement:
*me.cbselect.list=vadata*
after the code rows
'Populate the array with the whole recordset.
vaData = Application.Transpose(.GetRows)
End With
NOW IT'S OK.
regards,
Emiliano
--
eggpap
Excel 2003 on Vista HP System - can use VBA
------------------------------------------------------------------------
eggpap's Profile:
http://www.thecodecage.com/forumz/member.php?userid=90
View this thread:
http://www.thecodecage.com/forumz/sh...ad.php?t=84562