CAPS to Caps 
Author Message
 CAPS to Caps

I have a spreadsheet for mailmerge purposes with enough
fields to make retyping a challenge.  What can I do to
take the majority of the sheet from ALL CAPS to Normal
Formatting?  The problem is I think complicated by the
fact that some fields are properly formatted.  Thanks, in
advance.

Kris



Mon, 29 Aug 2005 20:50:09 GMT  
 CAPS to Caps
Tr this, Kris
Sub Properly()
Dim cell As Range
For Each cell In ActiveSheet.UsedRange
    cell = Application.WorksheetFunction.Proper(cell)
Next cell
End Sub
HTH

Quote:
> I have a spreadsheet for mailmerge purposes with enough
> fields to make retyping a challenge.  What can I do to
> take the majority of the sheet from ALL CAPS to Normal
> Formatting?  The problem is I think complicated by the
> fact that some fields are properly formatted.  Thanks, in
> advance.

> Kris



Mon, 29 Aug 2005 21:00:17 GMT  
 CAPS to Caps
Kris, give this Marco a try

Sub TextConvert()
'By Ivan F Moala
'will change the text that you have selected,
'if no text is selected it will change the whole sheet
Dim ocell As Range
Dim Ans As String

Ans = Application.InputBox("Type in Letter" & vbCr & _
"(L)owercase, (U)ppercase, (S)entence, (T)itles ")

If Ans = "" Then Exit Sub

For Each ocell In Selection.SpecialCells(xlCellTypeConstants, 2)
Select Case UCase(Ans)
Case "L": ocell = LCase(ocell.Text)
Case "U": ocell = UCase(ocell.Text)
Case "S": ocell = UCase(Left(ocell.Text, 1)) & _
LCase(Right(ocell.Text, Len(ocell.Text) - 1))
Case "T": ocell = Application.WorksheetFunction.Proper(ocell.Text)
End Select
Next

End Sub

--
Paul B
Always backup your data before trying something new
Using Excel '97
Please post any response to the newsgroups so others can benefit from it
** remove news from my email address to reply by email **


Quote:
> I have a spreadsheet for mailmerge purposes with enough
> fields to make retyping a challenge.  What can I do to
> take the majority of the sheet from ALL CAPS to Normal
> Formatting?  The problem is I think complicated by the
> fact that some fields are properly formatted.  Thanks, in
> advance.

> Kris



Mon, 29 Aug 2005 20:58:51 GMT  
 CAPS to Caps
Kris,
Have you used the "proper" function?  It will convert for
you.
Quote:
>-----Original Message-----
>I have a spreadsheet for mailmerge purposes with enough
>fields to make retyping a challenge.  What can I do to
>take the majority of the sheet from ALL CAPS to Normal
>Formatting?  The problem is I think complicated by the
>fact that some fields are properly formatted.  Thanks, in
>advance.

>Kris
>.



Mon, 29 Aug 2005 21:07:32 GMT  
 CAPS to Caps
Paul,

Thank you, thank you, thank you!!!!!  You have no idea how
much work you just saved me - now and in the future when I
get lists from our Acct. department.  Thank you!

Kris

Quote:
>-----Original Message-----
>Kris, give this Marco a try

>Sub TextConvert()
>'By Ivan F Moala
>'will change the text that you have selected,
>'if no text is selected it will change the whole sheet
>Dim ocell As Range
>Dim Ans As String

>Ans = Application.InputBox("Type in Letter" & vbCr & _
>"(L)owercase, (U)ppercase, (S)entence, (T)itles ")

>If Ans = "" Then Exit Sub

>For Each ocell In Selection.SpecialCells

(xlCellTypeConstants, 2)

- Show quoted text -

Quote:
>Select Case UCase(Ans)
>Case "L": ocell = LCase(ocell.Text)
>Case "U": ocell = UCase(ocell.Text)
>Case "S": ocell = UCase(Left(ocell.Text, 1)) & _
>LCase(Right(ocell.Text, Len(ocell.Text) - 1))
>Case "T": ocell = Application.WorksheetFunction.Proper
(ocell.Text)
>End Select
>Next

>End Sub

>--
>Paul B
>Always backup your data before trying something new
>Using Excel '97
>Please post any response to the newsgroups so others can
benefit from it
>** remove news from my email address to reply by email **



>> I have a spreadsheet for mailmerge purposes with enough
>> fields to make retyping a challenge.  What can I do to
>> take the majority of the sheet from ALL CAPS to Normal
>> Formatting?  The problem is I think complicated by the
>> fact that some fields are properly formatted.  Thanks,
in
>> advance.

>> Kris

>.



Mon, 29 Aug 2005 22:23:42 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Outlook 2002 rules and caps/no caps

2. Help: Caps/small caps in Word97

3. ?ALL CAPS to Initial Caps?

4. convert ALL CAPS to All Caps

5. change small caps to big caps

6. All Caps into Initial Caps

7. How to convert all caps to initial caps

8. Changing all caps in names to 1st letter in caps only

9. Update query to convert Caps to U/Lower case and U/Lower case to Caps

10. change ALL CAPS To First Letter Caps


 
Powered by phpBB® Forum Software © phpBB Group