Hi everybody,
Can anybody teach me how this work? thnx.
private sub command1_click
dim vcombo1 as combobox,vcombo2 as combobox
call populate(vcombo1) 'there's an error here
vcombo2=vcombo1 'another error here
end sub
private sub populate(oCombo as combobox)
oCombo.clear
ocombo.additem "One"
ocombo.additem "Two"
ocombo.additem "Three"
end sub
'Basically what i want is populate combobox 1 then copy it into combobox 2.
NOTE: I don't want to put the combo box in a form.
Pls. Help.
vbnewguy