Others

Why Excel Shows Different Workbook Names on Two Computers

Camila MilosovichCamila Milosovich Nov 13, 2026 869 views

Question details

The user needs to understand why the same Excel workbook title appears with or without the .xlsx extension on two laptops, and how to prevent an RPA bot from failing when it relies on the window caption.

Why Excel Shows Different Workbook Names on Two Computers
Product
Microsoft Excel
Device & OS
Windows
Scenario
An RPA bot uses the Excel window caption to identify a workbook, but two laptops show different names for the same file.
Observed behavior
One laptop displays the workbook title with the .xlsx extension and the other displays it without the extension, causing the caption-based automation to fail.
Before you start

Confirm that both laptops are opening the same .xlsx file path and note whether the name difference appears in Excel, File Explorer, or only in the RPA tool.

Solution 1Recommended

Stop using the Excel window caption as the primary identifier

Use this when your RPA bot fails because the visible Excel title differs between computers; it is the most reliable fix.

Window captions depend on Windows display settings and can vary between users, so they are not stable identifiers for automation.

1
Open the RPA workflow

Open your automation project in your RPA tool, such as UiPath, Power Automate, or Automation Anywhere, and locate the action that reads the Excel window caption.

2
Select the workbook by file path

Replace the caption selector with a workbook or file object that points to the full file path, such as C:\Users\Username\Documents\Report.xlsx.

3
Use a stable workbook property

Configure the bot to match the workbook name property instead of the window title, or read the Excel instance through the Excel application scope.

4
Normalize the optional extension

If a title comparison is unavoidable, add a normalization step that removes the .xlsx extension before comparing captions.

Stop using the Excel window caption as the primary identifier
Caption mismatch resolved: Window captions are only a display issue. Identifying the workbook by path or file object prevents the mismatch from recurring.
Free Microsoft Office alternative

Switch to WPS Office for Free Excel Workbook Editing and Compatibility

WPS Office is a free, lightweight Office suite that opens, edits, and saves Excel .xlsx workbooks with a familiar interface, making it easy to migrate from Microsoft Excel without losing format compatibility.

  1. 1. Download WPS Office: Click Download WPS Office Free and install WPS Office on your Windows computer.
  2. 2. Open your Excel workbook: Launch WPS Office, click Open, and select the .xlsx workbook you use with your automation or daily work.
  3. 3. Work with familiar tools: Use the WPS Spreadsheet tab and ribbon commands to view, edit, and save the workbook in Excel-compatible .xlsx format.
Opens and saves .xlsx workbooks with Microsoft Excel formatting intactFree and lightweight Office suite with a familiar Excel-like interfaceHelps you open the same .xlsx workbook consistently across Windows computersSeamless migration from Excel with support for your existing files
microsoft office alternative - wps office

Frequently Asked Questions

Why does the same Excel file show different names on two computers?

The difference is usually caused by Windows File Explorer hiding file extensions for known file types on one computer while the automation tool uses the full file name. It is a display and caption issue, not a change to the workbook content.

How do I make Excel show the .xlsx extension in the title bar?

Open File Explorer, click the View menu, and enable File name extensions. Then restart Excel and reopen the workbook. Alternatively, clear 'Hide extensions for known file types' in File Explorer Options > View.

Can I prevent my RPA bot from failing on different Excel captions?

Yes. Configure the RPA workflow to identify the workbook by its full path, workbook name, or file object instead of the window caption. If caption comparison is unavoidable, normalize the optional .xlsx extension before comparing.

Is the workbook changed when the title shows no extension?

No. The workbook content and file format remain unchanged. Only the displayed name or automation caption differs because of Windows display settings.

Does WPS Office also depend on the Windows file extension display setting?

WPS Office is subject to similar Windows display behavior, but it can open and save .xlsx workbooks directly, giving you an Excel-compatible alternative when Microsoft Excel causes workflow issues.