How to Fix Word or Excel Save As Selecting a Random File Name
Question details
Users need to resolve an issue where the Save As function fails to retain the original document name and suggests a random string instead.

- Product
- Microsoft Word, Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to save an existing document as a new file or in a different location using the Save As command.
- Observed behavior
- The Save As dialog automatically populates the file name field with a random sequence of characters instead of the name of the currently open document.
Verify your current Microsoft Office version and build number, and note down the exact steps you take when triggering the Save As dialog (e.g., File > Save As > More Options).
Update Microsoft Office to the Latest Version
Since this is a known bug reported to Microsoft, updating your Office installation may resolve the issue if a patch has been released.
Microsoft is aware of this behavior and actively investigates product-level issues. Applying the latest software updates ensures you have the most recent bug fixes.
Launch Microsoft Word or Excel and open any blank or existing document.
Click on 'File' in the top-left corner of the ribbon and select 'Account' (or 'Office Account') at the bottom left of the menu.
Under Product Information, click the 'Update Options' dropdown and select 'Update Now'. Allow Office to download and install any pending updates, then restart the application.

Use the F12 Keyboard Shortcut Workaround
Bypass the Backstage view by using the traditional Save As dialog directly, which often prevents the random name generation.
Report the Bug to Microsoft Support
If the issue persists, provide specific diagnostic information to Microsoft to help them investigate this product-level behavior.
Experience Bug-Free Document Editing with WPS Office
If you're frustrated by Microsoft Office bugs like the random file name issue, try WPS Office. It provides a lightweight, highly compatible, and user-friendly experience for all your Word, Excel, and PowerPoint files without the subscription cost.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your device in minutes.
- 3. Open Your Documents: Launch WPS Office and easily open your existing .docx or .xlsx files with full formatting retention.

Frequently Asked Questions
Why does Microsoft Word change my file name when I click Save As?
This is a known bug in certain builds of Microsoft Office where the application fails to fetch the original file name and instead populates the Save As dialog with a random string of characters. Microsoft's product team has been notified and is investigating.
Does this random file name issue affect both Word and Excel?
Yes, users have reported this identical behavior across both Microsoft Word and Excel, typically when navigating through the File > Save As > More Options pathway in the Backstage view.
How do I find my Office version and build number to report this bug?
Open any Office application like Word, click on 'File' in the top ribbon, select 'Account' at the bottom left, and look under the 'About Word' or 'Product Information' section to find your exact version and build number.
Is there a shortcut to open the Save As dialog without going through the File menu?
Yes, you can press the F12 key on your keyboard while in Word or Excel to immediately open the traditional Save As dialog box, which often acts as a successful workaround for this naming bug.




