Hello Excel Forum,

I'm a current computer science student with no experience in Excel's vba language and I've been given this task for an extra credit assignment for a non-cs related class.
Sorry ahead of time if this kind of post is against the forum rules.

I need to create a macro that shows all the possible outcomes of 10 coin flips (1,024) in the following format

H H H H H H H H H H
H H H H H H H H H T
....
all the way through to

T T T T T T T T T T


This is my first time coding anything in excel vba and I have more experience with C++ and JavaScript and I'm not sure where to begin with tackling this problem.
Any help would be appreciated in helping me get a good understanding of how to code this and how the code works.

Thanks!