How to Schedule Excel Workbooks to Run or Refresh

Published:

Updated:

how to schedule excel

Disclaimer

As an affiliate, we may earn a commission from qualifying purchases. We get commissions for purchases made through links on this website from Amazon and other third parties.

Part of our Productivity Tools guides

Excel can refresh connected data automatically. But a separate scheduling tool is needed to launch a closed workbook at a set time. An external data connection is a link that lets a workbook retrieve information from outside the file.

A refresh on open updates data when you open the file. A timed refresh repeats after a set interval while the file stays open. That saves manual work when you rely on fresh numbers for reports or team tasks.

Excel can handle some work on its own, but it does not start a closed file on a schedule. That job needs another tool. You can choose a method that fits the way you use your data and your workday.

Key Takeaways

  • Excel can refresh connected data when a workbook opens.
  • A timed refresh runs at set intervals while the file remains open.
  • Windows Task Scheduler can launch a closed workbook on a time-based trigger.
  • Refresh settings and scheduled launches are separate tasks.
  • Access to the computer, file, and data affects a scheduled run.

Choose the refresh method based on whether you need updated data in an open workbook or need the workbook itself to start on a schedule.

What Excel Can Schedule Automatically

If you need fresh information inside a workbook, use Excel’s connection settings; if you need the file to open by itself, use a separate scheduler. The key difference is whether you want new data or an opened file.

Excel refresh settings do not launch a closed workbook. Windows Task Scheduler can launch a program or script at a set time, while Excel controls when connections refresh.

MethodWhen it runsBest fit
Manual refreshWhen you start itOne-time data updates
Refresh on openWhen you open the fileFresh data at the start of work
Timed refreshAt set intervals while openUpdates during a long work session

Refresh Data in an Open Workbook

Manual refresh gives you control over the time of each update. Refresh on open suits workbooks you check once each day. A timed refresh fits a file that stays open as data changes.

For example, a team can open a report in the morning and let its connection update. A dashboard left open can refresh at regular intervals. Both choices depend on Excel being open and able to reach the data.

Launch a Closed Workbook at a Set Time

Windows Task Scheduler can use a time-based trigger to open a program or run a script. The scheduled launch and data refresh need different settings, even when they serve one report.

A scheduled launch still needs a working computer and the right access to the file and its data. Scheduling software cannot refresh a connection that Excel or the account cannot reach. Check what action matters most before you set a time.

Pick the method that matches the action you want automated, since refreshing data does not by itself open a closed file.

How to Schedule Excel Data Refreshes

Set refresh on open for a workbook that should update as soon as you open it, or set an interval when it will stay open for ongoing updates. Both choices use the connection’s Usage tab.

A timed refresh runs only while the workbook is open. You enter the interval in minutes, and some query types cannot refresh in the background.

Refresh a Connection When the Workbook Opens

The steps below show how to schedule Excel data refreshes when a workbook opens. Select a cell in the external data range, then open Data and choose Queries & Connections.

Open Connections, right-click the query, and choose Properties. On the Usage tab, select Refresh data when opening the file. This setting updates the connection when you open the workbook.

Set a Timed Refresh

Use the same connection properties to set a timed refresh. Select Refresh every on the Usage tab, then enter the interval in minutes.

Choose an interval that fits the pace of the data and the time the workbook stays open. For instance, a file used during a meeting may need updates more often than a daily report. The interval does not cause a closed file to open.

  1. Select a cell in the external data range.
  2. Open Data, then Queries & Connections, then Connections.
  3. Right-click the query and choose Properties.
  4. On the Usage tab, choose refresh on open or Refresh every.
  5. For a timed refresh, enter the interval in minutes.

OLAP queries and queries that retrieve data for the Data Model cannot run in the background. If your connection uses either type, account for that limit when you plan the work.

Test the setting with the real connection before relying on it for a recurring report.

Refresh Data and Resolve Access Issues

Excel’s Trust Center is open to the external data connections settings, with options to enable and manage workbook connections. A wooden desk and houseplants sit in the home office behind the computer screen.
Enable and manage external data connections in Excel’s Trust Center to help workbooks refresh as scheduled.

Use Alt + F5 to update selected data quickly, or Ctrl + Alt + F5 when you need to refresh every connection in the workbook. Pick the smaller action when only one query needs new data.

Excel must be allowed to use an external connection before automatic refresh can work. A blocked connection can look like a schedule problem, even when the refresh setting is correct.

Refresh Selected Data or the Whole Workbook

Alt + F5 refreshes the selected data, which helps when you are checking one table or query. Ctrl + Alt + F5 refreshes all data in the workbook. Use it when several connected areas need current values.

These actions also help you test a connection after a change. Watch for an error message, an old result, or a prompt that asks you to allow access. Each clue points to a different issue.

Allow Excel to Use the Connection

If Excel blocks external data, check the Trust Center bar for an option to enable the connection. You can also place the workbook in a trusted location. These choices let Excel use connections in files it trusts.

Use care when allowing outside data, especially with a file you did not expect. A refresh failure is not always a schedule-setting problem. First check whether Excel can use the connection and reach the data.

If an on-open refresh does not start, confirm that Excel trusts the workbook and its external connection.

Sort Refreshed Data by Date and Priority

An Excel spreadsheet on a computer screen shows date columns arranged from oldest to newest in an organized table. Notepads and pens sit on the desk, with a bookcase of books and a window in the home office behind it.
Sort refreshed Excel data by date and priority to keep the most important entries easy to find, with dates arranged from oldest to newest.

A date sort works as expected only when Excel recognizes the cell contents as dates rather than text. Check the cell values before sorting refreshed rows.

True date values sort by date, while text that only looks like a date may not. Excel stores real dates and times as serial numbers.

Check How Excel Stores Dates

Excel can sort date and time values from oldest to newest or newest to oldest when they are stored as date or time serial numbers. Text-formatted dates may appear right but sort in the wrong order.

For example, a list with dates stored as text may sort by the first character instead of calendar order. Check a few cells in the refreshed data before relying on the result. Consistent date formatting also makes the list easier to scan.

Data or sort needExcel behaviorWhat to check
Date serialsSort by date or time orderConfirm cells hold real date values
Text-formatted datesMay not sort in calendar orderCheck whether values are stored as text
Multiple-column sortingSorts by one level, then anotherSet the main field before the next field

Sort by More Than One Column

Multiple-column sorting helps you group related rows and then order each group. Sort first by a key field, such as department, then by a second field, such as employee name.

Excel supports sorting by up to 64 columns. Most work lists need only a few levels, such as department, date, and priority. Keep the main grouping first so the result stays easy to read.

Check a few refreshed date cells before trusting an oldest-to-newest or newest-to-oldest sort.

Use Calendar Templates to Plan Recurring Updates

A template is the quickest starting point when you need a familiar daily, weekly, monthly, or yearly layout. Choose one that fits the work, not just the look of the page.

A clear schedule shows dates, owners, and tasks in places people can scan quickly. Excel templates cover employee shifts, tasks, events, classes, and personal calendar details.

Choose a Calendar or Schedule Layout

Excel schedule templates include daily schedules, employee shift schedules, weekly task schedules, event schedules, and class schedules. Calendar templates may add a task tracker, to-do list, vacation planner, or notes column.

A template can show all 12 months on one worksheet or put each month on a separate worksheet. Choose the layout your team can update without searching through extra tabs.

LayoutUseful forPlanning detail
DailyShifts, classes, or appointmentsTime blocks and assigned tasks
WeeklyRecurring tasks and team workWeekdays, owners, and progress
Monthly or annualEvents, leave, or long plansKey dates and monthly notes

A project schedule can track tasks, start and end dates, duration, owner, priority, and completion. For work with linked tasks, Smartsheet task dependencies can help show how one task affects another.

For employee hours and locations, Outlook working hours can help coworkers plan around daily availability. You can also view Microsoft To Do tasks beside Outlook Calendar when planning time blocks.

Fill Dates and Keep the Sheet Readable

Enter a start date, then drag the fill handle to continue the dates. Add a weekday row or use =TEXT(date_cell,”ddd”) to label each day. In Excel for the web, double-clicking a date-formatted cell can open a built-in date picker.

Freeze the header row with View > Freeze Panes so labels remain visible as you scroll. Use Data Validation drop-downs for shared choices, such as task status. Conditional Formatting can make due dates or priority entries stand out.

SUM or COUNT can total hours or task entries when the data is set up for those calculations. A daily schedule tracker, task tracker, to-do list, vacation planner, and notes column can keep personal details together.

Keep one consistent date format so people can scan the schedule and enter updates without confusion.

Build a Reliable Workbook Refresh Routine

Use Windows Task Scheduler when a workbook must open at a regular time even when no one is there to open it manually. A simple test run can reveal access or path problems early.

Excel refresh settings do not replace the external launch task. Task Scheduler can use daily or weekly triggers to launch a program or script.

Use this checklist to set up the scheduled launch. Keep the workbook path and account details close by while you work.

  1. Choose a daily or weekly trigger for the schedule.
  2. Select Excel or a suitable script as the action.
  3. Point the action to the intended workbook file.
  4. Confirm the machine and account can access the file and its data.
  5. Test the run, then review the workbook and its results.

A script can help when the launch needs extra steps, but the task still needs a clear action and file path. Set a time that leaves the computer available to run it. A sleeping or shut-down machine cannot complete the launch at that moment.

You can use Copilot in Excel for repeatable spreadsheet tasks, such as creating PivotTables or summarizing data. That can help with work after the file opens, but it does not replace the scheduled launch.

Keep the first scheduled run as a test and confirm that both the file and its data are available to the account running it.

Conclusion

Excel can reduce manual updates when you match the automation method to the job. Connection settings refresh data, while an external scheduler opens a closed workbook.

Test the setup with the same file and data you use in daily work. A successful test helps show whether the account can reach the file and complete the expected update.

Set up one workbook, test its next run, and keep the process that gives you dependable data with the least manual work.

FAQ

How to build out a schedule in Excel?

Start with an Excel template or a blank workbook, then set rows and columns for tasks, dates, or time blocks. Enter a start date and continue the dates with the fill handle. Use clear labels for owners and task status, so people can update the sheet without guessing. A weekly schedule works well when tasks repeat across weekdays.

Can Excel refresh data automatically?

Yes, Excel can refresh an external data connection when the workbook opens or at a chosen interval. Set the option in the connection’s Usage properties. A refresh on open suits a report you check once each day. A timed refresh fits a workbook that stays open while you watch changing data.

How often can Excel refresh external data?

Excel lets you set a timed refresh interval in minutes in the connection’s Usage properties. The interval is your choice, based on how often the data needs an update. The workbook must stay open for timed refreshes to run. If you close it, the interval does not keep running in the background.

Does Excel refresh data when the workbook is closed?

No, a timed refresh does not run while the workbook is closed. A refresh-on-open setting can update the data when you open the file. If the workbook must open at a set time, Windows Task Scheduler can launch it. Excel’s refresh setting and the scheduled launch handle separate actions.

Can I make Excel open a workbook automatically at a set time?

Yes, Windows Task Scheduler can launch Excel or a script on a daily or weekly trigger. Set the action to open the intended workbook, then test the run. The computer must be available, and the account needs access to the file and its data. Review the open workbook to confirm the routine worked.

About the author

Latest Posts