+ Reply to Thread
Results 1 to 3 of 3

copying numbers without separator

  1. #1
    Registered User
    Join Date
    10-09-2008
    Location
    blah
    Posts
    7

    copying numbers without separator

    Hi,
    I have a list of number that I would like to copy into a text file. The format is like this:
    123-4567-8910-1234
    123-4567-8910-1234
    I have a list of hundreds of these, and I need to enter them into a txt file WITHOUT the "-". Rather than entering them in one by one manually, is there any way I can format the numbers so that excel will remove the "-", and then I could copy all of them at once?

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi and welcome to the board
    Try Edit - Replace : What "-" ( no quotes) With ( nothing)
    Click "Replace all"
    Then save as CSV file

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good morning qwyz
    Quote Originally Posted by qwyz View Post
    I have a list of hundreds of these, and I need to enter them into a txt file WITHOUT the "-".
    Have a look at my response in this thead, which includes a VBA routine to output the contents of a range direct to a text file without the "quote" marks.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

+ 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. Using Excel to help select Lotto numbers.....
    By farmerTom in forum Excel - New Users/Basics
    Replies: 6
    Last Post: 10-15-2018, 05:09 AM
  2. differencing sets of numbers, multiplying, and summing
    By stocknewb in forum Excel General
    Replies: 12
    Last Post: 09-02-2008, 09:24 PM
  3. Need a solution to edit numbers
    By KarambaStar in forum Excel General
    Replies: 5
    Last Post: 02-14-2008, 12:26 PM
  4. copying incrementing numbers in the different worksheet
    By shunsuket in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 08-27-2007, 01:52 AM
  5. Copying data from another program into Excel as numbers
    By wmjenner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2007, 02:04 PM

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