Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
making all text into uppercase Jennifer Excel Discussion (Misc queries) 6 June 12th 08 01:41 AM
Search on uppercase text Nadiya Excel Discussion (Misc queries) 2 December 13th 05 07:30 PM
Identify text in uppercase David Excel Worksheet Functions 8 May 3rd 05 11:55 PM
Automatically change text to uppercase Santie Excel Worksheet Functions 1 February 22nd 05 05:20 PM
Change all text in a column to uppercase Ken Loomis Excel Programming 7 October 6th 04 05:14 AM


All times are GMT +1. The time now is 07:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"