Hi,

I've got a start date in one textbox in a userform and an end date in another textbox in the userform.

What I want to do is run the macro until the start date = the end date.

Kind of thinking something like this..

Do until txtStartDate = TxtEndDate

'run my code

if txtStartDate <> TxtEndDate then
txtStartDate + 1 -so it increases the textbox date by 1 day

Loop - back up to the start where it says do until txtStartDate = TxtEndDate ....

End if

'do some more code
Can this be done??

Cheers,
Amoxia