Intendi questo?:
codice:
for i=0 to datediff("d",cDate(strDataInizio),cDate(strDataFine))step 1

if cDate(strDataInizio) or cDate(strDataFine) <> da che cosa?
 strSql = "INSERT INTO tabella (...) values (...)"
else
 Che prevedere?
end if

  objCONN.execute strSql
next