+ Reply to Thread
Results 1 to 6 of 6

Copying and pasting data from cells

  1. #1
    Registered User
    Join Date
    11-03-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    3

    Copying and pasting data from cells

    Hello,

    I am using Microsoft Office 2013. I have a huge Excel spreadsheet of data I need to copy text from and paste into Notepad. I've tried finding a solution searching online and this forum without success.

    The issue is, when I try and copy text from a line of roughly 13 cells in a row, when I paste that data into Notepad, the spacing between the text from each cell is always different. Each cell only contains one word.

    How do I force Excel to only have one space between each cell when I copy data out of it for pasting?

    Thanks.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,371

    Re: Copying and pasting data from cells

    Maybe save the file as .csv, change the extension to .txt and then do a global replace of "," (comma) for " " (single space) in NotePad, WordPad, or MS Word
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-03-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    3

    Re: Copying and pasting data from cells

    This is a great idea, thank you.

    The only problem is that the words I am copying and pasting are being randomly generated from a word list in Excel. Is there any way I can force Excel to only have a single space between cells when copying and pasting?

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,371

    Re: Copying and pasting data from cells

    Maybe concatenate the values in the 13 cells with single spaces into a new cell on another sheet ... in column A. Then save the new sheet as a Text file.

  5. #5
    Registered User
    Join Date
    11-03-2017
    Location
    UK
    MS-Off Ver
    2013
    Posts
    3

    Re: Copying and pasting data from cells

    TMS - another excellent idea, thank you so much. Your suggestions are greatly appreciated. Also nice its from a fellow Englander!

    My requirement is very unusual, I need to constantly renew the randomly generated cells and copy and paste the result as fast as possible over and over again. Its weird I know! Its for a academic work regarding random word generation.

    Because of my requirement I need to stay within Excel so the copying and pasting can be fired off in quick succession. Do you think this isn't going to be possible?

    I'm going to try a few other systems (Google Docs, Open Office etc) to see if I have any joy.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,371

    Re: Copying and pasting data from cells

    Don't see why it can't be done in Excel. I'd create a short macro to collate the values into a second sheet, save the new sheet, and then delete it.

+ 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. Macro for copying and pasting cells with data
    By nadeem77 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-18-2014, 01:26 PM
  2. Replies: 0
    Last Post: 09-23-2014, 04:45 PM
  3. Copying and pasting a table of data with individually color filled cells
    By Paragoomba in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-18-2013, 11:49 AM
  4. Replies: 0
    Last Post: 05-15-2013, 03:22 AM
  5. [SOLVED] Copying and pasting Horizontal Data to Horizontal cells
    By jjin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2013, 01:14 AM
  6. Copying and Pasting Cells
    By JoshF in forum Excel General
    Replies: 3
    Last Post: 01-04-2012, 08:38 PM
  7. copying/pasting cells not working
    By Lpayne in forum Excel General
    Replies: 1
    Last Post: 06-26-2008, 03:26 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