slam
i am struggling so hard with excel VBA,
i am trying to write a code that counts unique combinations within date range that the user enters from a VBA form (frmSummary) ,,
i have the Visits sheet :
BOOKINGID date clientID petID
1 22/10/2010 1 1
2 23/11/2010 1 2
3 24/11/2010 3 2
4 25/12/2010 2 1
5 26/12/2010 1 1
the pet id is based on the client id,,each client has pets
i want to count the number of pets that visited the clinic,,,( unique combination of clienID and petId)
within a date range that user specified from text box(txtStartDate, txtEndDate)
the count result will be displayed in (summary) worksheet in cell "B6"
am sooooo depressed with this pleeease heeelp me!
thaanx