I need a macro to keep recalculating over and over

qbertmail

New Member
Joined
Feb 9, 2005
Messages
5
I have actually found a macro to do the recalculating, but I can't get it to run when the worksheet is opened. I tried to copy it in an open module, but can't get the syntax right. I am pretty new to this. Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Can you post the code?

Where did you try putting the code?

Did it work at all?
 
Upvote 0
Here's what I have

Private Sub Workbook_Open()
Calculate
Application.OnTime earliesttime:=Now + TimeValue("00:00:01"), _
procedure:="Recalculate"
End Sub

it says that it can't find file ....recalculate
 
Upvote 0
Re: Here's what I have

qbertmail said:
Private Sub Workbook_Open()
Calculate
Application.OnTime earliesttime:=Now + TimeValue("00:00:01"), _
procedure:="Recalculate"
End Sub

it says that it can't find file ....recalculate

Also, is it possible to make it recalculate more often than every second?
 
Upvote 0

Forum statistics

Threads
1,203,071
Messages
6,053,369
Members
444,658
Latest member
lhollingsworth

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