+ Reply to Thread
Results 1 to 2 of 2

RemoveLeadingSpace

Hybrid View

Guest RemoveLeadingSpace 08-05-2005, 10:05 AM
Guest Re: RemoveLeadingSpace 08-05-2005, 10:05 AM
  1. #1
    gh
    Guest

    RemoveLeadingSpace

    There is a space before the first character of text, in each cell. How
    can I remove the space?

    TIA

  2. #2
    Paul
    Guest

    Re: RemoveLeadingSpace

    Function:
    =Trim(CellRef) e.g. =Trim(A1)

    Code:

    Sub Trim
    trim(Range.text)
    End Sub

    e.g

    Sub TrimText
    Trim (Range("A:A").Text)
    End Sub

    "gh" <gh@at.ne> wrote in message
    news:uMwBB8bmFHA.3656@TK2MSFTNGP09.phx.gbl...
    > There is a space before the first character of text, in each cell. How
    > can I remove the space?
    >
    > TIA




+ 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