+ Reply to Thread
Results 1 to 2 of 2

Excel to Text

  1. #1
    Registered User
    Join Date
    07-25-2013
    Location
    yakima, wa
    MS-Off Ver
    Excel 2003
    Posts
    1

    Excel to Text

    I currently have an excel document that has mutiple values in multiple cells. I'm trying to create a script by gathering the data from only a few specific cells. I don't know if this is the best way to do this but I have selected the cells with the data I need and put that information in only a few cells to the right. Because I used the = sign to specify the data on the other cells it will not let me copy the 5 cells and only lets me paste the left most cell. I'm trying to gather the specific data on put that in notepad.

    For example (my data on the left and what I want it too look like in notepad on the right in bold):

    201 999 $999 199 LEVEL $99 99 00 263 PEERL Yes REP 201 201 FRTE 199


    Is there a way to do this so I can transfer the specific cells into notepad? The other issue I noticed was if I manually just put the data in each cell and just copy it without the = for forumulas it will put the spaces that my script doesn't like. Is there a way to copy and paste into notepad without those spaces or just deal with removing them line by line?

  2. #2
    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,938

    Re: Excel to Text

    Hi and welcome to the forum

    I dont understand how you go from
    201 999 $999 199 LEVEL $99 99 00 263 PEERL Yes...to...
    REP 201 201 FRTE 199?

    what exactly are you trying to do?

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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)

Similar Threads

  1. Replies: 0
    Last Post: 04-22-2013, 12:13 PM
  2. Import text file into Excel and using a loop to count unique words within the text
    By mrgriff21 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2013, 03:17 PM
  3. Macro to Parse Text - Import text to Excel from Multiple Text Files & Folders
    By Novice_To_Excel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-02-2012, 01:05 AM
  4. Replies: 11
    Last Post: 05-31-2010, 06:25 AM
  5. Excel VBA: Worksheet cell .Text property: 1024 bytes text len limit
    By loyso in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-03-2005, 10:06 AM

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