Macro to Paste Values from static range to last empty row in worksheet

dfriedholm

New Member
Joined
Apr 5, 2008
Messages
5
Macro assistance Request:
I have summary range B1:F1 in a worksheet (Summary) containing values which update from another worksheet (Sheet1) in the same workbook. I need a user-triggered macro which will copy and paste the VALUES of each cell in the summary range into the first empty corresponding cells in a table below... example copy values from B1:F1 to B16:F16. The next time the macro is triggered, the updated summary values would paste from B1:F1 to B17:F17 etc.

I've searched the forum without success.
Any help would be greatly appreciated........

Thanks in advance.
Under the gun...............
 
NOT CLEAR. you mean that every time B1:F1 should be copied in the last row plus one in the same worksheet (summary).
ONCE you copy the B1:F1 and paste it to B16

subsequently you can uses this macro

Code:
Sub test()
With Worksheets("summary")

.Range("B1:F1").Copy

.Cells(Rows.Count, "b").End(xlUp).Offset(1, 0).PasteSpecial
End With
End Sub

this means every time the B1:F1 is refreshed you have to invoke this macro. If you wnt this to be done automatically you have to have an event code for the sheet.
 
Upvote 0

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