Quote Originally Posted by Apek
thanks...how to cater the last record in a listbox??
i tried this but got an error..

listbox.list(listbox.listcount)
I'm not sure what you mean by 'cater', but if you are attempting to find out how many items are in a listbox, the syntax is:
VB Code:
  1. Msgbox List1.ListCount