+ Reply to Thread
Results 1 to 11 of 11

if cell contains text, then copy/paste on the next one

  1. #1
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    if cell contains text, then copy/paste on the next one

    Hi,

    I have multiples checkboxes on sheet 2.

    On sheet 1, i want that the checkboxes (all in coloumn B) when checked copy the text in their respective row (in A) in sheet 1. This is easy....

    What I want to do is that if in sheet 1. Check my file to see what i try to acheive!!!

    So basicly, when there is text on Summary, and the checkbox is checked in the sheet input. I want that it copy to the next cell..


    .test.xlsm
    Last edited by extremis; 05-30-2013 at 10:36 AM.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: if cell contains text, then copy/paste on the next one

    Try the attached file. I have eliminated the check boxes and replaced them with a drop-down list. This just made it easier to program. Just click "yes" and the data will be copied to your Summary sheet.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Re: if cell contains text, then copy/paste on the next one

    Hi,

    good thinking but!! I have to see the Yes / No (need to appear). I also need to be able to reproduce it on another sheet. ;/

  4. #4
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Re: if cell contains text, then copy/paste on the next one

    The good thing is that when it's true (yes) The line is copied to the other sheet :D...that worked well!! ..but unfortunatly, i really need the checkbox ;/

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: if cell contains text, then copy/paste on the next one

    Try:
    Please Login or Register  to view this content.
    Last edited by Mumps1; 05-29-2013 at 01:10 PM.

  6. #6
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Re: if cell contains text, then copy/paste on the next one

    it worked well, but how can I would like to erase the copied cell if the checkboxes is uncheck...would it be possible?

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: if cell contains text, then copy/paste on the next one

    Try:
    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Re: if cell contains text, then copy/paste on the next one

    it doesnt dissapeared when unchecked ....

  9. #9
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: if cell contains text, then copy/paste on the next one

    Try the attached file. Make your changes in the "input" sheet and click the 'Process Data' button
    Attached Files Attached Files

  10. #10
    Forum Contributor
    Join Date
    04-26-2013
    Location
    Canada
    MS-Off Ver
    Excel 2007
    Posts
    167

    Re: if cell contains text, then copy/paste on the next one

    Solved.

    I modify the code a bit to make it work to my need.


    thanks

  11. #11
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: if cell contains text, then copy/paste on the next one

    I'm glad it worked out for you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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