[Solved] Mass Copy and Paste with Mass autofill (sort of)

bino1121

New member
So I wrote a quick code to copy and paste in mass
Sub MassCopyAndPaste()
With Range("A2:D10")
.Copy Destination:=.Resize(.Rows.Count * 10)
End With
End Sub

However the next part I am struggling to do after the mass copy and paste has run I need another code that will update column A accordingly such that the Job num from sheet 2 will fill in to each in between tasks 2 and 10,000 I've attached the sheet and added a final solution sheet in the event that my explanation didn't make sense you could see what I was trying to accomplish.
 

Attachments

  • Mass Copy and Paste.xlsm
    19.1 KB · Views: 1
So I wrote a quick code to copy and paste in mass
Sub MassCopyAndPaste()
With Range("A2:D10")
.Copy Destination:=.Resize(.Rows.Count * 10)
End With
End Sub

However the next part I am struggling to do after the mass copy and paste has run I need another code that will update column A accordingly such that the Job num from sheet 2 will fill in to each in between tasks 2 and 10,000 I've attached the sheet and added a final solution sheet in the event that my explanation didn't make sense you could see what I was trying to accomplish.
Hi Bino,
Thanks for sharing problem. I have modified your code and am sharing the workbook with you in the attachment.

1702536393348.gif


Download and run the code. And let us know the feedback.

Regards,
Ridwan
 

Attachments

  • Mass Copy and Paste - solved.xlsm
    24.1 KB · Views: 0

Online statistics

Members online
0
Guests online
40
Total visitors
40

Forum statistics

Threads
292
Messages
1,268
Members
531
Latest member
lonkfps
Top