Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Uppercase a text box
How do i do this When a user exits or tabs from TxtAddress to txtPhone the value or string in TxtAddress will change to uppercase if not already I don't know how to go further on coding this Sub TxtAddress_Exit() format(TxtAddress,"Uppercase") - this obviously doesn't work any help would be great, thank you for your time Josh -- jhahes ------------------------------------------------------------------------ jhahes's Profile: http://www.excelforum.com/member.php...o&userid=23596 View this thread: http://www.excelforum.com/showthread...hreadid=377462 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Uppercase a text box
Sub TxtAddress_Exit()
TxtAddress.Text = Ucase(TxtAddress.Text) -- Regards, Tom Ogilvy "jhahes" wrote in message ... How do i do this When a user exits or tabs from TxtAddress to txtPhone the value or string in TxtAddress will change to uppercase if not already I don't know how to go further on coding this Sub TxtAddress_Exit() format(TxtAddress,"Uppercase") - this obviously doesn't work any help would be great, thank you for your time Josh -- jhahes ------------------------------------------------------------------------ jhahes's Profile: http://www.excelforum.com/member.php...o&userid=23596 View this thread: http://www.excelforum.com/showthread...hreadid=377462 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Uppercase a text box
I am assuming that TxtAddress is name of textbox, which when pressed tab key will change text to uppercase. Private Sub TxtAddress_Exit(ByVal Cancel As MSForms.ReturnBoolean) TxtAddress.Value = UCase(TxtAddress.Value) End Sub -- anilsolipuram ------------------------------------------------------------------------ anilsolipuram's Profile: http://www.excelforum.com/member.php...o&userid=16271 View this thread: http://www.excelforum.com/showthread...hreadid=377462 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
making all text into uppercase | Excel Discussion (Misc queries) | |||
Search on uppercase text | Excel Discussion (Misc queries) | |||
Identify text in uppercase | Excel Worksheet Functions | |||
Automatically change text to uppercase | Excel Worksheet Functions | |||
Change all text in a column to uppercase | Excel Programming |