+ Reply to Thread
Results 1 to 6 of 6

Copy And Paste on Another Sheet ( next time paste data from empty row )

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Thumbs up Copy And Paste on Another Sheet ( next time paste data from empty row )

    I Copy data from range ("D61:D500")and paste it on another Sheets("OF C") and Range("C3")

    Suppose first time i select range ("D61:D71")and paste it on another Sheets("OF C") and Range("C3:C13")
    next time i select range ("D61:D65") and paste is on Sheets("OF C") then

    the data should be paste Start range ("C14:C18")

    { code something like = Range(Selection, Selection.End(xlTop)).Select }

    plz help to solve this problem

    Original code is :
    Please Login or Register  to view this content.
    and this one what i m trying to doing :
    Please Login or Register  to view this content.
    Last edited by HaroonSid; 03-16-2014 at 11:09 AM. Reason: solved

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy And Paste on Another Sheet ( next time paste data from empty row )

    Hi, haroon2015,

    Target is part of an event and you would need to tell us how and what that Variable is in order to understand the code.

    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy And Paste on Another Sheet ( next time paste data from empty row )

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy And Paste on Another Sheet ( next time paste data from empty row )

    Hi, patel45,

    youīre baffling me. Could you share what Target is because when I try to run the code in a module Target isnīt reckognized and Empty?

    And you should go to the target sheet before you try to get the first free row. Itīs a beginnerīs error to do so on the active sheet and may lead to trouble and overwriting in TOīs sheets.

    Ciao,
    Holger

  5. #5
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Copy And Paste on Another Sheet ( next time paste data from empty row )

    thanx for reply both

    but sorry patel45

    HaHoBe's code is working very well and as i wanted.........


    thanx a lot once again
    haroon2015

  6. #6
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Copy And Paste on Another Sheet ( next time paste data from empty row )

    Hello Sir
    there is little problem

    when i m running this code
    i want my data paste start from ("Blank cell")

    but data is pasting from cell ("C85") while cell ("C3:C84") Is Blank

    Please Login or Register  to view this content.

  7. #7
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy And Paste on Another Sheet ( next time paste data from empty row )

    Hi, haroon2015,

    without seeing your workbook Iīd like to say that the cells arenīt empty when they get copied over. Maybe check the length of the contents of any empty cell by using
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or attach a (sample) workbook for us to have a look.

    Ciao,
    Holger

+ 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 data from one cell and paste in another sheet
    By knockme2 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-07-2013, 05:03 AM
  2. [SOLVED] Copy Data and paste it in new sheet and save new sheet as value of cell a2
    By VKS in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2013, 08:55 AM
  3. How to copy data with formula and paste another sheet as paste spl -value only
    By sumesh56 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-14-2013, 09:03 PM
  4. Replies: 2
    Last Post: 02-22-2011, 02:07 AM
  5. 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