I have a macro I am constructing and I would like to call out different procedures present in the same macro sheet. Please try to solve it providing me the code, the order and the specific definition of the macro. Example:
Sub MyUserName()
dim UserName as String
UserName = "Alessio_110"
End Sub
Sub msgbox_1()
msgbox UserName
End Sub
In this example I would like to have a message box telling me the User Name I have set in a precedent procedure. How could I embed the two codes?