Copy Data And Paste it at the bottom of the latest field

nonono

Board Regular
Joined
Jul 25, 2018
Messages
59
I am trying to copy this data and paste them into another worksheet and making sure it is at the bottom of the latest data in the worksheet How do i go around doing that?

ZZkZeVp.png

I am trying to copy the whole data from A1-K14. (Data is dynamic so it might contain more/less everytime a new report is generated)
Once I copy it, I would like to have the data at the bottom of the row in OEE_Original



FoT4V1t.png


I would like to have the data A1-K14 to the new cell A178. I wish to retain the formatting which is important and the value as well.

Hope a god can rescue me since this is the final step....
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try this:
Run this script from the copy from sheet:
Code:
Sub Copy_My_Data()
'Modified 8/2/2018 12:55 AM  EDT
Application.ScreenUpdating = False
Dim i As Long
Dim Lastrow As Long
Lastrow = Cells(Rows.Count, "H").End(xlUp).Row
Dim Lastrowa As Long
Lastrowa = Sheets("OEE_Original").Cells(Rows.Count, "H").End(xlUp).Row + 2
Range("A1:K" & Lastrow).Copy Sheets("OEE_Original").Cells(Lastrowa, 1)
Application.ScreenUpdating = True
End Sub
 
Last edited:
Upvote 0
wow sir.... are you god. you are so good at the vba coding ><

Thank you for helping me twice :biggrin:
appreciate your time and effort T.T
 
Upvote 0
Glad I was able to help you.
Come back here to Mr. Excel next time you need additional assistance.
wow sir.... are you god. you are so good at the vba coding ><

Thank you for helping me twice :biggrin:
appreciate your time and effort T.T
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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