for this first u need to declare to Gloable variable StartDate and EndDate for taking the date range and the u can use the follwing code in the activeX script to prompt for dates
DTSGlobalVariables("StartDate ")=InputBox("Enter your startDate in the format mm/dd/yyyyy")
DTSGlobalVariables("EndDate ")=InputBox("Enter your EndDatein the format mm/dd/yyyyy")