How to Import Excel 97-2003 Files into Power Query and Repeat Rows
Question details
The user needs to import legacy Excel 97-2003 (.xls) workbooks into Power Query, and also wants to know how to duplicate worksheet rows or repeat specific rows across printed pages.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Handling older spreadsheet formats for data transformation and configuring page setups for physical document printing.
- Observed behavior
- The user is looking for the exact menu navigation to import single or multiple legacy files and the page layout settings required to repeat rows on prints.
Ensure your legacy Excel files (.xls) are not corrupted or password-protected, and create a backup of your original workbooks before transforming data.
Import a Single Excel 97-2003 File into Power Query
Use the standard Get Data menu to locate and transform a single legacy workbook.
This is the primary method for extracting data from older Excel files. Power Query handles .xls files seamlessly if the correct import path is selected.
Open your current Excel workbook and click on the 'Data' tab located on the top ribbon.
Click on 'Get Data', choose 'From File' from the drop-down menu, and then click 'From Excel Workbook'.
Browse your computer to locate the specific Excel 97-2003 (.xls) file you want to import, select it, and click 'Import'.
In the Navigator window, select the worksheets or tables you need. Click 'Load' to send the data directly to your workbook, or 'Transform Data' to open the Power Query Editor for further formatting.

Import Multiple Legacy Excel Files from a Folder
Use this method to combine and merge multiple Excel 97-2003 files stored within the same directory.
Set Rows to Repeat on Printed Pages
Configure your worksheet so that specific header rows print at the top of every physical page without duplicating the actual data.
Import Data and Set Print Layouts in WPS Spreadsheet
WPS Spreadsheet makes it simple to open legacy Excel 97-2003 files, manage complex datasets, and configure your page layouts to repeat specific rows during printing without complex queries.
- 1. Download WPS Office: Install WPS Office for free and open the WPS Spreadsheet application.
- 2. Open Legacy Files: Click 'Menu' > 'Open' to directly load your Excel 97-2003 (.xls) files without conversion errors or complicated import steps.
- 3. Set Print Titles: Navigate to the 'Page Layout' tab, click 'Print Titles', and select the rows you wish to consistently display at the top of your printed pages.

Frequently Asked Questions
Why can't I open an Excel 97-2003 file in Power Query?
Legacy .xls files can sometimes cause compatibility errors if necessary OLEDB drivers are missing on your PC. Ensure you are using the 'From Excel Workbook' option. Alternatively, open the file normally, save it as a modern .xlsx format, and then import it.
How do I physically duplicate rows in my worksheet?
To duplicate rows in your actual dataset, highlight the row numbers you want to copy, press Ctrl+C, select the destination row number, and press Ctrl+V to paste them. You can also highlight the cells and use the 'Fill Down' (Ctrl+D) command.
What is the difference between duplicating rows and repeating rows?
Duplicating rows creates physical copies of the data inside your spreadsheet's cells, which alters your dataset. Repeating rows (via Print Titles) only visually duplicates those rows at the top of physical printed pages, keeping your underlying data intact.




