https://quadexcel.com/wp/excel-vba-tutorial-42-userforms-creating-a-userform/
Excel VBA Tutorial 42 - Userforms - Creating a Userform