+ Reply to Thread
Results 1 to 5 of 5

How To Remove Spaces?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-28-2006
    Posts
    51

    How To Remove Spaces?

    Hi,

    I have a column with serveral rows. In each row there is a Letter and a Number with a space in between.

    I'd like to remove all the spaces all the way down the column.

    Example:

    F 21
    F 44
    F 66
    F 84


    I'd like it to look like this:

    F21
    F44
    F66
    F84

    Thanks!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Select the column. Then press Ctrl + H. In the find what field enter a space by pressing the spacebar once. Then leave the replace with box blank and click replace all.

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    or with a formula

    =SUBSTITUTE(A1," ","")

    Then paste special values and delete the original columns

    VBA Noob

  4. #4
    Registered User
    Join Date
    04-28-2006
    Posts
    51
    Nice one!

    Easy.

    Thanks

    Have a good day

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Indeed

    You too

    VBA Noob

+ 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