+ Reply to Thread
Results 1 to 6 of 6

paste union to end of row

  1. #1
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    paste union to end of row

    Running this code will pull the results of B2, D2, F2, G2, H2, I2 and J2 from each ws in my workbook and copy it to the first blank row on "Sheet1". The problem is, I also need N1 and T1 copied and brought over but the "union" command won't allow it since it is on a different row. How can I write the code to also grab N1 and T1 from each ws and bring over to "Sheet1"?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: paste union to end of row

    Does this not work? It should place the second Union right beneath the first.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: paste union to end of row

    It does work but I need them on the same line, not two separate lines.

    I need one single row in "Sheet1" to be the result of B2,D2,F2,G2,H2,I2,J2,N1,T1 , in that order on the page.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: paste union to end of row

    Try:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: paste union to end of row

    Works perfectly. Thanks

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: paste union to end of row

    You're welcome. Glad to help out and thanks for the feedback. Please mark this thread as SOLVED.

+ 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. Copy and Paste Union of Ranges/Rows to Outlook Email Body
    By darkhunter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2012, 01:52 PM
  2. VBA - Help with Union All
    By JohnM3 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2011, 05:14 PM
  3. Paste Union Methond
    By Nihongin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2010, 03:04 PM
  4. Paste a Union range selection into email body
    By VD82 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-23-2009, 05:47 PM
  5. Union
    By Arne Hegefors in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2006, 11:30 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