Fix Excel Web Query Data That Does Not Refresh
Question details
The user needs an Excel web query to retrieve current flight schedule information after refresh and reopening the workbook.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A workbook imports flight schedules from a website and is saved and reopened from OneDrive.
- Observed behavior
- The initial import shows current schedules, but subsequent refreshes can continue to display outdated data, particularly after the workbook is reopened.
Identify the query's source URL and check whether the flight schedule on the source itself is current. Note whether you are opening the workbook in Excel for the web or the desktop app, because refresh support can differ.
Check the source and refresh the Excel connection
Use this first to determine whether stale data comes from the source or the workbook connection.
Open the query URL in a browser and compare the displayed schedule with the workbook. If possible, check whether the source returns current data directly or loads it later with JavaScript.
In desktop Excel, open Data > Queries & Connections, find the relevant query or connection, and inspect its properties or edit the query to verify the source URL.
Select Data > Refresh All, then compare the imported schedule with the source. Check for any credential prompt or refresh error.
In Queries & Connections, open the connection properties and, if available, select Refresh data when opening the file. Save the workbook to OneDrive, reopen it, and check that the setting and connection are still present.

Import a direct data endpoint with Power Query
Use this approach when the schedule is generated by JavaScript or the existing web query cannot retrieve updated values.
Verify refresh behavior after reopening from OneDrive
Use this when the query works initially but appears stale after the saved workbook is reopened.
Work with flight schedule spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files to review and edit schedules while moving between office suites. Excel-specific web queries and connections may not migrate or refresh in WPS.

Frequently Asked Questions
Why does Refresh All still show an old flight schedule?
The source may return cached data, or the query may read static HTML instead of schedule data loaded by JavaScript. Compare the source URL with the workbook and look for a direct data endpoint.
How do I refresh the query when the workbook opens?
In desktop Excel, open Data > Queries & Connections, open the relevant connection properties, and select Refresh data when opening the file if that option is available. Save and reopen the workbook to verify the setting.
Can I refresh the same web query in Excel for the web?
It depends on the query and connection type. If refresh is unavailable or fails in the browser, open the OneDrive workbook in desktop Excel and try Data > Refresh All.
Can Power Query import a flight schedule API?
If the provider offers an accessible endpoint, use Data > Get Data > From Other Sources > From Web in desktop Excel. Supply any required credentials and use Power Query Editor to select the schedule fields.




