Consulting

Results 1 to 4 of 4

Thread: Solved: Paste Special,Text question

  1. #1
    VBAX Tutor
    Joined
    Feb 2006
    Posts
    295
    Location

    Solved: Paste Special,Text question

    Hi,

    this is not a vba question but i'm hoping that someone can help me with this question.

    i'm copying one line of data which consists of 4 fields from a mainframe application and want to paste all the data into cell A1. instead, the data is spread out across A1,B1,C1 & D1.

    if i do a Paste Special,Text then all the data appears in one cell A1.

    Is there any other way of pasting this data without doing a Paste Special,Text?

    thanks
    zach

  2. #2
    Hi

    If you want to paste many rows and, at the same time, have fewer clicks, then you can just paste them as they will, spread out across A,B,C & D columns.
    In the end, when you have pasted all rows, you concatenate those strings into column E, to get the whole string. Thus formula of E1 will be
    =CONCATENATE(A1,B1,C1,D1)
    Do this for all rows, then copy column E, Paste Special, Values into column F, so you have the strings, as intended, in column F.
    Now, delete Column A through E.

    Does this help?

    Jimmy
    -------------------------------------------------
    The more details you give, the easier it is to understand your question. Don't save the effort, tell us twice rather than not at all. The amount of info you give strongly influences the quality of answer, and also how fast you get it.

  3. #3
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    You can of course run some code to automate what Jimmy has suggested. If it is only one line, it may make little difference which route you follow.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  4. #4
    VBAX Tutor
    Joined
    Feb 2006
    Posts
    295
    Location
    thanks guys. that helps. trying to get people to right click,pastespecial,text is asking for too much sometimes. i'll probably automate it.

    thanks again
    zach

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •