+ Reply to Thread
Results 1 to 5 of 5

How to keep a space character at the end of a value (for barcodes)

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    Orlando, Fl
    MS-Off Ver
    Excel 2007
    Posts
    65

    How to keep a space character at the end of a value (for barcodes)

    Hi,
    i loaded my .xls inventory file into excel to edit it and it auto removed all the spaces at the end of my barcode numbers.
    I don't know why my inventory program uses spaces at the end of the barcode number but apparently it does
    I'm trying to add the spaces back into the value, but as soon as hit the enter button it disappears again.

    any suggestions to this? thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    08-30-2012
    Location
    Orlando, Fl
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: How to keep a space character at the end of a value (for barcodes)

    DUh i formatted the column as text works good now i hope will test it tomorrow

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to keep a space character at the end of a value (for barcodes)

    Use in a separate column
    =A2&" "
    and drag down

    Copy this entire column and paste special --values in Column A

    Does this help?
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    08-30-2012
    Location
    Orlando, Fl
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: How to keep a space character at the end of a value (for barcodes)

    when i (paste special --values in Column A), it pastes over the original values making both columns the same?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: How to keep a space character at the end of a value (for barcodes)

    No, you need to copy the column with the formula to where you're original data is. so, if you're formula is in column C, then copy column C and past values to column A
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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