Hello I want to pass some variables from one sub to another and after doing some research I'm still unsure on how to achieve the outcome I want.
If I can clarify anything please let me know. Thanks for theHelp
Code:
Private Sub CommandButton2_Click()
If isLoggedIn = False then
Get LogIn(Username)
End if
MsgBox(Username)
End sub
Code:
Private Sub LogIn()
Username = Users.Cells(2, 1).Value
return Username
If I can clarify anything please let me know. Thanks for theHelp