vba excel userform date calculation

Hi, I am newbie here in excel VBA. How can I get the total number of days using the userform only given the ff:
textbox1-textbox2 = textbox3 (textbox1 and 2 should be in date format only)

and also how to calculate numbers in the userform only. Thanks guys in advance.