Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default Cell tests for upper case, and certain #'s

No need to test - just convert

Range("a1") = StrConv(Range("a1"), vbUpperCase)

For the checking the data look at Data Validation as means of limiting the
input to 5 values.

Data--Validation--Allow: List -- Source:

Source can be a range in a worksheet or entered as values e.g. A,B,C,D,E
will only allow entries of A to E.

HTH

"Beth" wrote:

How can you test a cell to determine whether the letter entered (since it
will only be a letter) is capital, and if it isn't then have it
automatically capitalized?
Next how can you test to see if the value entered is in a range of 5 options?
Thanks for your anticipated help.

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 multiple cell text from lower case to upper case Patti Excel Discussion (Misc queries) 2 January 4th 08 08:35 PM
Changing file in all upper case to upper and lower case Sagit Excel Discussion (Misc queries) 15 May 30th 07 06:08 AM
Cell tests for upper case, and certain #'s Bob Phillips[_6_] Excel Programming 1 April 14th 05 09:41 PM
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 07:52 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"