ComboBox problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm looping thru the items of combobox list, it works fine but at the end
shows an "invalid use of Null" error as if an additional item that can't be
recognized existed.


For Each In CbxAddress.List
MsgBox ccc
Next ccc


Thanks in advance
 
dim iCtr as long
for ictr = 0 to cbxaddress.listcount - 1
msgbox cbxaddress.list(ictr)
next ictr
 
Dave,
Thanks for the reply.

What I have listed in the combobox is a range of letter representing, so it
won't fork with integers. The way I wrote the code it works but I can't avoid
the last loop -1
 
Try it. You may be surprised.
Dave,
Thanks for the reply.

What I have listed in the combobox is a range of letter representing, so it
won't fork with integers. The way I wrote the code it works but I can't avoid
the last loop -1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top