+ Reply to Thread
Results 1 to 6 of 6

Cut, concatenate and paste into blank cell on separate sheet

  1. #1
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Cut, concatenate and paste into blank cell on separate sheet

    I want to make a blank "form" where the user will use Sheet1 to enter in some data in two or more cells. For example, A1, A2 and A3. I would like for a VBA macro to cut this data from Sheet1, concatenate it together as a string and paste it into Sheet2 in the same column (Column A for example) with the next empty cell.

    Please Login or Register  to view this content.
    I think the above code is a starting point but I keep getting an error from using this code. I pulled this from someone else who had a similar goal a while back... Not sure if it makes a difference but I use Excel 2010.
    Last edited by T86157; 09-11-2015 at 11:52 PM.

  2. #2
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Cut, concatenate and paste into blank cell on separate sheet

    Hii problem is you are using both cut and paste special option...

    Either
    Please Login or Register  to view this content.
    or

    Please Login or Register  to view this content.

    and finally
    Please Login or Register  to view this content.
    Last edited by mangesh.mehendale; 09-12-2015 at 01:33 AM.
    Don`t care, take care...

    Regards,
    Mangesh

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cut, concatenate and paste into blank cell on separate sheet

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Contributor
    Join Date
    05-17-2012
    Location
    CA, USA
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    163

    Re: Cut, concatenate and paste into blank cell on separate sheet

    H mangesh.mehendale and sixthsense, thank you for the timely response! This got me further to what I want to do. If the cells I want to cut from Sheet1 are no adjacent to each other (A1:A3), how would this be written? For example instead of cutting Range("A1:A3") I would like to cut cells A1, C8, F3. I tried Range("A1, C8, F3") because I thought it would follow excel convention with cell list referencing.

  5. #5
    Valued Forum Contributor mangesh.mehendale's Avatar
    Join Date
    06-04-2015
    Location
    India
    MS-Off Ver
    2007
    Posts
    510

    Re: Cut, concatenate and paste into blank cell on separate sheet

    hii try this

    Please Login or Register  to view this content.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Cut, concatenate and paste into blank cell on separate sheet

    Please Login or Register  to view this content.

+ 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. [SOLVED] Paste from one sheet to last blank cell of a column
    By Barking_Mad in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-20-2015, 04:30 AM
  2. VBA: Copy non-blank and paste to separate sheet ONLY blank cells (running list)
    By brolsen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2014, 03:34 PM
  3. [SOLVED] Concatenate If Blank - remove blank line if first cell is blank
    By ker9 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-27-2014, 02:14 PM
  4. Macro to separate, concatenate, and change sheet names
    By JGSmith in forum Excel General
    Replies: 16
    Last Post: 05-04-2014, 04:57 AM
  5. Find blank cell, then paste entire row onto another sheet
    By Misterturtle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-17-2013, 05:34 PM
  6. Replies: 0
    Last Post: 04-07-2009, 04:42 PM
  7. Copy from one sheet and paste into another shee int the blank cell
    By karinos57 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-10-2009, 05:49 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