Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How can I convert text to all lowercase?

How can I convert text to all lowercase?

I know that I can use the Format menu to convert a block of text to all
uppercase, but is there any way to convert it to lowercase?

If not with Excel, how about Word, DOS, any other way.

I'm using Excel 7.0 (Office 95).
Thanks in advance!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default How can I convert text to all lowercase?

No need to multipost. See a couple of answers to your post in excel.misc

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 00/02/03

----------------------------------------------------------------------------
Newsgroups - Where you really can get a free lunch!!
----------------------------------------------------------------------------



"HBYardSale" wrote in message
...
How can I convert text to all lowercase?

I know that I can use the Format menu to convert a block of text to all
uppercase, but is there any way to convert it to lowercase?

If not with Excel, how about Word, DOS, any other way.

I'm using Excel 7.0 (Office 95).
Thanks in advance!



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default How can I convert text to all lowercase?

Here is an example:

Sub teywutyu()
MsgBox UppCaseToLowCase("AdhsjakDsaLKJDs")
End Sub

Private Function UppCaseToLowCase(sString As String) As
String
Dim i As Long
Dim strTemp As String

strTemp = ""

For i = 1 To Len(sString)
strTemp = strTemp & LCase(Mid(sString, i, 1))
Next i

UppCaseToLowCase = strTemp

End Function

-----Original Message-----
How can I convert text to all lowercase?

I know that I can use the Format menu to convert a block

of text to all
uppercase, but is there any way to convert it to

lowercase?

If not with Excel, how about Word, DOS, any other way.

I'm using Excel 7.0 (Office 95).
Thanks in advance!

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How can I convert text to all lowercase?

You mean with a macro?

Dim rng as Range, cell as Range
set rng = Activesheet.UsedRange.Specialcells(xlconstants,xlT extValues)
for each cell in rng
cell.Value = lcase(cell.Value)
Next
End Sub

--
Regards,
Tom Ogilvy

HBYardSale wrote in message
...
How can I convert text to all lowercase?

I know that I can use the Format menu to convert a block of text to all
uppercase, but is there any way to convert it to lowercase?

If not with Excel, how about Word, DOS, any other way.

I'm using Excel 7.0 (Office 95).
Thanks in advance!



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
Possible to distinguish uppercase from lowercase text? seed Excel Discussion (Misc queries) 5 February 28th 09 04:07 PM
How do I convert a text array to a concatenated text cell? Excel. Vargasjc Excel Worksheet Functions 5 December 20th 06 06:35 PM
How can I cange text to lowercase in Excel photogirl96 Excel Discussion (Misc queries) 1 November 8th 06 07:28 PM
Lowercase text changed by Ecel to Uppercase after import John Excel Discussion (Misc queries) 5 April 25th 06 10:26 PM
convert a range of lowercase text to upper text or vice versa jackdaw Excel Worksheet Functions 2 May 16th 05 09:31 PM


All times are GMT +1. The time now is 02:09 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"