The code above is for VBA (basically Classic VB), so is not appropriate for you - I'm afraid I dont know how to use Comboboxes in VB.Net (which is what VB 2005 is), so you'll have to find a method somewhere else.. presumably there are several threads about it in our VB.Net forum.