Macro to Populate data from one page onto another

KatieY

New Member
Joined
Mar 18, 2019
Messages
2
Hi All,

I am by no means great with Excel, which is why I came to ask you fine people. I'm trying to create a reference tally sheet for my library so that we can stop using pen/paper. I've got the buttons to go up and down by increments of 1 on my first sheet, but I'm having trouble beyond this.

What I need is to have the data that's been populated in cells, a1,b1, and c1 of sheet 1 to be copied to a second excel sheet after the day ends, but also in the right date. Sorry I'm terrible at explaining this! So here is what I'd like the second sheet to look like, if possible:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Reference Question[/TD]
[TD]Telephone[/TD]
[TD]Electronic[/TD]
[/TR]
[TR]
[TD]3/18/2019[/TD]
[TD]25[/TD]
[TD]12[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]3/19/2019[/TD]
[TD]28[/TD]
[TD]8[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]3/20/2019[/TD]
[TD]18[/TD]
[TD]11[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]3/21/2019[/TD]
[TD]22[/TD]
[TD]18[/TD]
[TD]7[/TD]
[/TR]
</tbody>[/TABLE]

So along with having this data populate onto a second sheet and in the correct cells, I'd also like to have the data that's been generated in sheet 1 to be cleared automatically at the end of a 24 hour period, or when the date changes.

Can anyone help me with this? I've been struggling for a while now.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi Katie.

Can you possibly provide an idea of what your first sheet of data looks like?


Hi Shawn,

My first sheet looks like this (the + and - are buttons that move up and down in increments of 1)

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]Reference Question[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Telephone[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Electronic[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"](Numbers to generate)[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"](Numbers to generate)[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"](Numbers to generate)[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]+Button[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-Button[/TD]
[TD="align: center"][/TD]
[TD="align: center"]+Button[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-Button[/TD]
[TD="align: center"]+Button[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-Button[/TD]
[/TR]
</tbody>[/TABLE]


Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,224,915
Messages
6,181,723
Members
453,064
Latest member
robatthe2A

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