+ Reply to Thread
Results 1 to 8 of 8

Copy from one sheet and paste into another shee int the blank cell

  1. #1
    Forum Contributor
    Join Date
    11-18-2007
    Posts
    111

    Copy from one sheet and paste into another shee int the blank cell

    Hi There,
    I want to copy the data in "Sheet1" without the header and paste it in "Sheet2" but only paste it in the first blank cells because i sometimes have data in "Sheet2". i would also like to paste it as paste special method when pasting. See attached for details. thank you very much for your help.
    Attached Files Attached Files
    Last edited by karinos57; 02-12-2009 at 08:32 PM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy from one sheet and paste into another shee int the blank cell

    Try this
    Please Login or Register  to view this content.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    11-18-2007
    Posts
    111

    Re: Copy from one sheet and paste into another shee int the blank cell

    This is perfect. It is working the way i want it to be. One more thing:
    I have a list in column A; i want to go thru each cell in column A until the first blank cell and copy and paste special alwasy on column J1. So basically, check if there is value in A1 then copy and paste special in J1 then go to the next cell A2 if there is value then copy and paste special in J1 again and so on until the first blank in column A. We always use paste special when pasting in J1. Thanks again.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy from one sheet and paste into another shee int the blank cell

    Are you sure, it each paste will overwrite the previous one.

  5. #5
    Forum Contributor
    Join Date
    11-18-2007
    Posts
    111

    Re: Copy from one sheet and paste into another shee int the blank cell

    Yes i wan to over right it. Thanks
    i have this code but it is not working
    Please Login or Register  to view this content.
    Last edited by karinos57; 02-09-2009 at 03:24 PM.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy from one sheet and paste into another shee int the blank cell

    This will do that,
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    11-18-2007
    Posts
    111

    Re: Copy from one sheet and paste into another shee int the blank cell

    sorry with my questions but this code does not check all the rows. I want it to check until it finds the first blank. Below is the details:

    I have a list in column A; i want to go thru each cell in column A until the first blank cell and copy and paste special alwasy on column J1. So basically, check if there is value in A1 then copy and paste special in J1 then go to the next cell A2 if there is value then copy and paste special in J1 again and so on until the first blank in column A. We always use paste special when pasting in J1. Thanks again.

  8. #8
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Copy from one sheet and paste into another shee int the blank cell

    That's what the code does. You will only end up with the final cell's value in J1!

+ 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