Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formatting Text in Excel
I'm trying to change all-caps text to Proper. I found the formula to
do this, but I run into trouble by trying to apply it. I create a circular reference, apparently. How do I fix this? Better yet, is there a way to change the whole spreadsheet at once? There are a lot of cells I need to apply this too. Thanks! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formatting Text in Excel
Sub SetToProper() Dim cell As Range For Each cell In ActiveSheet.UsedRange If Not cell.HasFormula Then cell.Value = Application.Proper(cell.Value) End If Next cell End Sub -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message ups.com... I'm trying to change all-caps text to Proper. I found the formula to do this, but I run into trouble by trying to apply it. I create a circular reference, apparently. How do I fix this? Better yet, is there a way to change the whole spreadsheet at once? There are a lot of cells I need to apply this too. Thanks! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formatting Text in Excel
I appreciate the help, but you'll have to forgive me - I'm still
totally lost. I have a very rudimentary knowledge of the program. Bob Phillips wrote: Sub SetToProper() Dim cell As Range For Each cell In ActiveSheet.UsedRange If Not cell.HasFormula Then cell.Value = Application.Proper(cell.Value) End If Next cell End Sub -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message ups.com... I'm trying to change all-caps text to Proper. I found the formula to do this, but I run into trouble by trying to apply it. I create a circular reference, apparently. How do I fix this? Better yet, is there a way to change the whole spreadsheet at once? There are a lot of cells I need to apply this too. Thanks! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formatting Text in Excel
Just go into the VBIDE, Alt-F11. Insert a new code module (InsertModule).
Paste that code in the code pane, and then put the cursor in the code, and run it , F5. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message ups.com... I appreciate the help, but you'll have to forgive me - I'm still totally lost. I have a very rudimentary knowledge of the program. Bob Phillips wrote: Sub SetToProper() Dim cell As Range For Each cell In ActiveSheet.UsedRange If Not cell.HasFormula Then cell.Value = Application.Proper(cell.Value) End If Next cell End Sub -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message ups.com... I'm trying to change all-caps text to Proper. I found the formula to do this, but I run into trouble by trying to apply it. I create a circular reference, apparently. How do I fix this? Better yet, is there a way to change the whole spreadsheet at once? There are a lot of cells I need to apply this too. Thanks! |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formatting Text in Excel
Bob,
It worked! Thanks so much, you've saved me a LOT of time! -Frank Bob Phillips wrote: Just go into the VBIDE, Alt-F11. Insert a new code module (InsertModule). Paste that code in the code pane, and then put the cursor in the code, and run it , F5. -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message ups.com... I appreciate the help, but you'll have to forgive me - I'm still totally lost. I have a very rudimentary knowledge of the program. Bob Phillips wrote: Sub SetToProper() Dim cell As Range For Each cell In ActiveSheet.UsedRange If Not cell.HasFormula Then cell.Value = Application.Proper(cell.Value) End If Next cell End Sub -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) wrote in message ups.com... I'm trying to change all-caps text to Proper. I found the formula to do this, but I run into trouble by trying to apply it. I create a circular reference, apparently. How do I fix this? Better yet, is there a way to change the whole spreadsheet at once? There are a lot of cells I need to apply this too. Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How paste text from note pad to excel w/o using (Text to column) f | Excel Worksheet Functions | |||
Text records in Excel | Excel Discussion (Misc queries) | |||
Import text to Excel | Excel Discussion (Misc queries) | |||
How do I stop Excel auto formatting the text 3-4 as 04 Apr? | Excel Discussion (Misc queries) | |||
Conditional Formatting in Excel Help Please..... | Excel Discussion (Misc queries) |