+ Reply to Thread
Results 1 to 5 of 5

Formatting Text in Excel

  1. #1
    frankfenimore@gmail.com
    Guest

    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. #2
    Bob Phillips
    Guest

    Re: 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)

    <frankfenimore@gmail.com> wrote in message
    news:1154028486.635502.96540@h48g2000cwc.googlegroups.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. #3
    frankfenimore@gmail.com
    Guest

    Re: 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)
    >
    > <frankfenimore@gmail.com> wrote in message
    > news:1154028486.635502.96540@h48g2000cwc.googlegroups.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. #4
    Bob Phillips
    Guest

    Re: Formatting Text in Excel

    Just go into the VBIDE, Alt-F11. Insert a new code module (Insert>Module).
    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)

    <frankfenimore@gmail.com> wrote in message
    news:1154033024.563482.313880@i3g2000cwc.googlegroups.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)
    > >
    > > <frankfenimore@gmail.com> wrote in message
    > > news:1154028486.635502.96540@h48g2000cwc.googlegroups.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. #5
    frankfenimore@gmail.com
    Guest

    Re: 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 (Insert>Module).
    > 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)
    >
    > <frankfenimore@gmail.com> wrote in message
    > news:1154033024.563482.313880@i3g2000cwc.googlegroups.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)
    > > >
    > > > <frankfenimore@gmail.com> wrote in message
    > > > news:1154028486.635502.96540@h48g2000cwc.googlegroups.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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1