Code to copy paste data from one sheet to other sheet in the same workbook

VanshLucifer

New Member
Joined
Jan 6, 2018
Messages
6
I am creating a break calculator which will help user to keep a track of his login hours and break time.
I have already created a the excel file
Please find below the format.
DATE08/01/2018
Login Time09:30:00Logout Time
Break SlotsStart TimeEnd TimeTotal Login
15 Min slot 00:00:00
15 Min slot 00:00:00
30 Min slot 00:00:00
Bio break 00:00:00
Bio break 00:00:00
Total Break Time00:00:00
Total Login ###########
Actual login Time###########

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

It should not copy the entire numbers just the below details
DATELOGIN TIMELOGOUT TIMETOTAL BREAK TIMEACTUAL LOGIN HOURSDOWNTIME

<tbody>
</tbody>

The pasting range strats from B2 to G2

I need a VBA code to which will paste the above details in the other sheet
I will be pasting data at the day end i have already created vba whcih will take date from the system.
i just need the code to paste to the other sheet.
and it shld not over right data for every new date it shloud paste data in the below cell
say for example it for 8th jan it pasting the data from B2 to G2 range
for 9th jan it should paste data from B3 to G3 range.

urgent help required.

Please help.!!
 
Re: Need a vba code to copy paste data from one sheet to other sheet in the same workbook

Yes on the surface I believe that is doable. Create it as a new post and provide examples of the various scenarios. After you create it, add the post name to this post so I can find it.
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,215,338
Messages
6,124,358
Members
449,155
Latest member
ravioli44

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