i have a problem with my code i want to connect excel userform to access and that done my problem : i want to make a search in a table in ms access db between 2 dates and records belongs to 2 criteria (me.combobox1) and (me.combobox2) so i make a connection and it export only records between 2 date and not use my criteria .please help