Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Rename a Doc in Excel: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To rename a document in Excel, you use the Save As command, because Excel does not have a direct “rename” button inside the app. The quickest way: open the file, go to File > Save As, type the new name in the File name box, and click Save. Then close the old file and delete it if you no longer need it. On mobile, tap the file name at the top of the screen and type a new one. The exact labels can differ slightly by Excel version, device, and region, but the steps below cover the current desktop and mobile apps.

What You'll Need

  • Excel installed on your computer or mobile device (Microsoft 365, Excel 2019, 2021, or 2024 all work the same way).
  • The document you want to rename, either already open or saved somewhere you can find it.
  • Permission to edit the file if it is stored on a shared drive or in OneDrive/SharePoint.

Step-by-Step

  1. Open the document in Excel. Double-click the file from File Explorer (Windows) or Finder (Mac), or open it from Excel’s Start screen. If the file is in OneDrive or SharePoint, open it from there so the save location stays the same.
  2. Go to File > Save As. On Windows, click the File tab in the ribbon, then choose Save As. On Mac, click File in the menu bar, then Save As. On Excel for the web, click File > Save As > Rename a Copy (or use the file name at the top).
  3. Choose the same location. In the Save As dialog, pick the folder where the original file lives. If you save to a different folder, you will have two copies with different names, which is fine but not a true rename.
  4. Type the new name. In the File name box, delete the old name and type the new one. Keep the .xlsx extension if Windows shows it. Avoid characters like \ / : * ? " < > |, which Windows does not allow in file names.
  5. Click Save. Excel saves a new file with the new name. The original file still exists with the old name.
  6. Close the old file and delete it if you want a true rename. Close the Excel window for the original file, then delete the old file from File Explorer or Finder. Now only the renamed file remains.
  7. For OneDrive or SharePoint files: you can rename directly without Save As. In Excel for the web or the desktop app, click the file name in the title bar (or use File > Info > Rename), type the new name, and press Enter. The file is renamed in place and shared links usually keep working.
  8. On Excel for iPhone or Android: open the file, tap the file name at the top of the screen, type the new name, and tap Done or the checkmark. This renames the file in its current location (OneDrive, email attachment, etc.).

Common Mistakes

  • Using Save instead of Save As. Save just updates the existing file; it does not change the name. You must use Save As to create a file with a new name.
  • Forgetting to delete the old file. After Save As, you have two files. If you only wanted one, delete the original to avoid confusion and duplicate data.
  • Saving to the wrong folder. If you pick a different folder in the Save As dialog, the renamed file ends up elsewhere. Check the folder path before clicking Save.
  • Including illegal characters. Windows rejects names with \ / : * ? " < > |. Use letters, numbers, spaces, hyphens, and underscores instead.
  • Renaming a read-only file. If the file is marked read-only or you lack edit permission, Save As may fail. Check the file properties or ask the owner for edit access.
  • Renaming a file that is open in another program. Windows may block renaming if the file is locked by another app. Close the other program first.

Tips

  • Use descriptive names that include dates or versions, like “Budget_2025_Q1.xlsx”, so you can find files later.
  • If you want to keep both the old and new versions, Save As is perfect—just don’t delete the original.
  • For files in OneDrive or SharePoint, renaming in place keeps sharing links intact, which is safer than Save As and delete.
  • On Windows, you can also rename a closed Excel file directly in File Explorer: right-click the file, choose Rename, type the new name, and press Enter. This works without opening Excel.
  • On Mac, you can rename a closed file in Finder the same way: right-click, choose Rename, and type the new name.
  • If you use Excel for the web, the file name appears at the top left. Click it to rename directly.

Troubleshooting

  • “The file is in use” error: Close any other programs that might have the file open, then try Save As again.
  • Save As is greyed out: The file may be read-only or protected. Check File > Info for permissions, or ask the file owner to grant edit access.
  • Can’t find the Save As option: On some Excel versions, it’s under File > Save a Copy. Look for that instead.
  • Renamed file won’t open: Make sure you kept the .xlsx extension. If you removed it, Windows may not recognize the file. Rename it again and add .xlsx.
  • OneDrive rename option missing: You may be offline or lack permission. Check your internet connection and sign in with the correct account.
  • Mobile rename not working: Update the Excel app to the latest version from the App Store or Google Play. If it still fails, try renaming the file in the OneDrive app instead.

Frequently Asked Questions

Can I rename a file without opening Excel?

Yes. On Windows, right-click the file in File Explorer and choose Rename. On Mac, right-click in Finder and choose Rename. On mobile, use the Files app or OneDrive app to rename.

Does Save As change the original file?

No. Save As creates a new file with the new name. The original file remains unchanged with its old name until you delete it.

How do I rename a file in OneDrive or SharePoint?

Open the file in Excel, click the file name at the top, type the new name, and press Enter. Or use the OneDrive website: right-click the file and choose Rename.

Why can’t I rename my Excel file?

The file may be open in another program, marked read-only, or you may lack edit permission. Close other apps, check file properties, or ask the owner for access.

Will renaming break formulas or links?

Renaming a file does not affect formulas inside it. External links to the file may break if other workbooks reference it by name—update those links after renaming.

Can I rename a file on Excel for the web?

Yes. Click the file name in the top bar, type the new name, and press Enter. The file is renamed in its current location.