Hi,
i'm having some userfrom issues.
I have a workbook with a simple code that opens a userform and populates the textbox with the word "Hi".
The issue is that the first time the code is run it won't display anything, the second time it will display "Hi".
If i then enter the code and change "hi" to (say) "Bye", so when i run the code again the useform will show "Hi" and only the 2nd time around will it display "Bye".
It's as if the code stores information internally, which i did not know!.
Here's the code:
Sub Button1_Click()

UserForm1.Show
UserForm1.TextBox1.Text = "Hi!"

End Sub
(for some reason i am having trouble uploading a workbook so i hope this is enough information)
Any help on this would be greatly appreciated.