Selamat pagi BeExcel,
Saya dapat formula VBA di internet seperti ini,
Ini untuk mengisi dropdown combobox (CB1 itu naman comboboxnya),

Private Sub UserForm_Initialize()
Dim CB1 As Range
Set rng = Worksheets("MasterVendor").Range("A1").CurrentRegion.Offset(1)

For Each CB1 In Worksheets("MasterVendor").Range("A2:A500")

With Me.CB1
 .AddItem CB1.Value
 .List(.ListCount - 1, 1) = CB1.Offset(0, 1).Value
End With

Next CB1

End Sub

Pertanyaan saya, dari formula diatas, maka CB1 akan mengisi dropdown dari 
referensi worksheet master vendor, di cell A2:A500, sedangkan jika yang terisi 
hanya di cell A1:A10 naka cell kebawahnya akan tetep masuk ke CB1 n kosong, 
bagaimana caranya agar jika yang terisi itu di cell A1:A10 maka yang terlihat 
itu saja, n jika ditambah lagi, maka akan bertambah juga di CB1,
Demikian dari asror, terimakasih.
Asror


------------------------------------

---------------------------------------------------------------------
bergabung ke milis (subscribe), kirim mail kosong ke: 
[email protected]

posting ke milis, kirimkan ke: 
[email protected]

berkunjung ke web milis
http://tech.groups.yahoo.com/group/belajar-excel/messages

melihat file archive / mendownload lampiran
http://www.mail-archive.com/[email protected]/
atau (sejak 25-Apr-2011) bisa juga di :
http://milis-belajar-excel.1048464.n5.nabble.com/

menghubungi moderators & owners: [email protected]

keluar dari membership milis (UnSubscribe):
kirim mail kosong ke  [email protected]
---------------------------------------------------------------------Yahoo! 
Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/belajar-excel/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/belajar-excel/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Kirim email ke