• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to copy the first 25 cells from a source sheet to a Destination Sheet

gupta425

New Member
Hey all,
Not very familiar with deploying macros, so was hoping for some help here.
I need to create a macro button such that every time I click it, it grabs the first 25 cells (from an already filtered list) in all the existing columns from my source sheet and copies it to a destination sheet. When I click the button again, I need it to repeat the same process for the next 25 cells, so and so forth.

Am attaching a sample file as an example
I need the filtered data from columns a, b and c to be copied from the source sheet to another sheet in batches of 25 every time I execute the macro.

* EDIT *: I want to make sure that the destination sheet retains all the iterations (Of all the 25 cell batches I have pulled from the source sheet)

Thank you so much for you help
A
 

Attachments

  • Test File.xlsm
    11.6 KB · Views: 7
Last edited:
gupta425
Each paste includes 25 cells of data
Verify, that based You sample file,
the 1st click pastes range("A2:C11,A12") = 25 cells and next start from cell B11.
Where? Where is Your named Destination-sheet?
What to do after there are only empty cells?
How would You make sure that all 25 cell 'packets' has pasted?
 
Back
Top