Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Upper case in textbox

Sorry about this question but I am new,

on exit from a textbox I want it to convert automatically to capitals, how
do I do this please?

Here is some of my code

NEW3.Value = Format(TextBox1.Value, "A")

Thanks

Greg


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Upper case in textbox

Sorry i never changed the code to the right box

Thanks

Greg
"Greg B" wrote in message
...
Sorry about this question but I am new,

on exit from a textbox I want it to convert automatically to capitals, how
do I do this please?

Here is some of my code

NEW3.Value = Format(TextBox1.Value, "A")

Thanks

Greg



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Upper case in textbox

Greg,

NEW3.Value = Format(TextBox1.Value, "A")
should be
NEW3.Value = UCase(TextBox1.Value)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"Greg B" wrote in message
...
Sorry about this question but I am new,

on exit from a textbox I want it to convert automatically to capitals, how
do I do this please?

Here is some of my code

NEW3.Value = Format(TextBox1.Value, "A")

Thanks

Greg


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
convert lower to upper case automatically without using UPPER Sal Excel Discussion (Misc queries) 6 July 26th 09 11:27 AM
Changing upper case characters to upper/lower Richard Zignego Excel Discussion (Misc queries) 1 December 17th 07 10:09 PM
Changing file in all upper case to upper and lower case Sagit Excel Discussion (Misc queries) 15 May 30th 07 06:08 AM
Upper case in textbox Greg[_27_] Excel Programming 3 August 26th 06 04:11 AM
How do I convert all upper case excel sheet into upper and lower . DebDay Excel Discussion (Misc queries) 1 March 9th 05 08:31 PM


All times are GMT +1. The time now is 04:06 PM.

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"