How to record data every 30 minutes in Excel spreadsheet?

buffalo

Board Regular
Joined
Jun 19, 2003
Messages
183
Hello,

Cell A1 has data that keeps changing over time, and I would like to record this data, on the same spreadsheet. From time 8am EST to 5pm EST. Can you help me please? I would prefer this code would not slow my machine down.

Time Data
08:00 100
08:30 150
..
17:00 102

regards
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I think the "Application.OnTime" function in VBA is what you're looking for. The only part I'm not sure of is whether the workbook has to be open for the scheduler to keep working or whether you could combine it with the windows task scheduler and a "Workbook_Open" event.
 
Upvote 0
thanks much.

I'll leave it open when needs to be recorded. Only question is will this slow down my machine as I will be capturing data from 50 cells, every 30 minutes.

thanks
 
Upvote 0
It shouldn't be noticeable but it would depend on whatever else was running on the machine at that time really. Easiest way to check is to run it with task manager open :biggrin:
 
Upvote 0

Forum statistics

Threads
1,224,513
Messages
6,179,214
Members
452,895
Latest member
BILLING GUY

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