I hope this is the correct place to post this but I really do need help.

I need to write a programm for excel vba and since we just now started to learn how to write code in vba im having issues. This is how it has to work:
I click on a button which generates 7 unique numbers(5 in a range of 1-50 and 2 in a range of 1-8) and puts them in textbox.

I've tried searching for a solution since this has been asked a thousand times I assume but the ones i've found seems really difficult so I havn't been able to replicate any of them. Any help would be highly appreciated.