I have a module with a procedure called Upload() and a UserForm where the user should insert both username and password and click the command button.
I want to control the UserForm through the procedure Upload() instead of using cmdUpload_Click and such. Something like
but how can I check if the user had clicked the command button and eventually make a progress bar in the UserForm? I hope my problem is clearly explained
I want to control the UserForm through the procedure Upload() instead of using cmdUpload_Click and such. Something like
Code:
Public Sub Upload()
With frmUpload
.txtUsername = VBA.Environ("Username")
.txtPassword.SetFocus
.Show
End With
End Sub
but how can I check if the user had clicked the command button and eventually make a progress bar in the UserForm? I hope my problem is clearly explained
