How to convert TextBox contents to UpperCase

  • Thread starter Thread starter Jako
  • Start date Start date
J

Jako

I have a userform with a textbox (NameTextBox) on it.

I also have a commandbutton (FinishCommandButton) which when "Clicked"
i want to convert the contents of NameTextBox to Upper Case.

Please can someone suggest how i can achieve this.

TI
 
Private Sub FinishCommandButton_click()
NameTextBox.Value = Ucase(NameTextBox.Value)
End sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top