+ Reply to Thread
Results 1 to 4 of 4

Remove extra spaces from columns

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    Hawaii
    MS-Off Ver
    Excel 2003
    Posts
    34

    Remove extra spaces from columns

    I have a spreadsheet with multiple columns. Several of the columns for some reason or another ended up with spaces before the numbers or dates in 4 of the columns. This, in turn, prevents the file from being uploaded properly. Is there a VBA script that can be run to automatically remove any extra spaces that exist in any column?

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Remove extra spaces from columns

    attach please a small sample file with also desired result
    If solved remember to mark Thread as solved

  3. #3
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Remove extra spaces from columns

    Hi kre30a, try the following but amend it to your needs
    Please Login or Register  to view this content.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  4. #4
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Remove extra spaces from columns

    Common Courtesy Response

    Did this help your problem? It's been noted that you have returned since the last post but haven't managed to let us know if your issue is resolved. As a matter of courtesy perhaps you'd like to respond to those that have taken time out of their day to help you for free?

    I'm sure you can see that you're more likely to receive help a second time if you are remembered as someone who has offered thanks in the past. That's just human nature.

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to use vba to remove extra spaces between words
    By Joe Walsh in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 08-09-2013, 09:37 AM
  2. SOLVED - Looking to remove period and extra spaces from column B
    By Xaos in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-12-2013, 01:15 PM
  3. Replies: 8
    Last Post: 08-27-2012, 04:37 PM
  4. Remove extra spaces
    By kanezfan in forum Excel General
    Replies: 1
    Last Post: 07-05-2007, 02:06 PM
  5. [SOLVED] Remove trailing spaces from multiple columns in Excel
    By dcaissie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-17-2006, 12:10 AM

Tags for this Thread

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