VBA copy and paste multiple times

duplaly

New Member
Joined
May 26, 2020
Messages
8
Office Version
  1. 2019
Hi
I'm trying to copy a date in range("a2") from worksheet "a" and paste it to worksheet "b" 10 times starting to first blank row.
Everytime i run the macro, i want the date to be added allways starting to the first blank row.

Appreciate any help!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
VBA Code:
Worksheets("a").[A2].Copy Worksheets("b").Cells(Rows.Count, "A").End(3)(2).Resize(10)
 
Upvote 0
Hi
I have attached my project in order to illustrate my request.
I would like to copy the data from the CUTOFF sheet to the DATABASE sheet according to the illustration

Thanks for your time and help!
 

Attachments

  • CUTOFF.PNG
    CUTOFF.PNG
    58.2 KB · Views: 4
  • DATABASE.PNG
    DATABASE.PNG
    27.9 KB · Views: 5
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,082
Members
449,205
Latest member
Healthydogs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top