How to Create a QR Code to Open an Excel File on Your Phone
Question details
The user needs to generate a QR code that allows users to scan and open the latest version of an Excel spreadsheet on their mobile devices.

- Product
- Excel
- Device & OS
- iPhone, Android
- Scenario
- Sharing an Excel file stored on a local Windows network share with mobile users using a scannable QR code.
- Observed behavior
- Mobile phones cannot resolve or open standard Windows UNC local network paths (e.g., \\DSK-BUD\...) through a QR code scanner.
You will need an active cloud storage account (such as OneDrive, Google Drive, or SharePoint) because mobile devices cannot directly connect to local Windows network drives via standard URL QR codes.
Upload the Excel File to a Cloud Service and Generate a Web Link
By hosting the local Excel file on a cloud service, you create a standard HTTPS web link that mobile devices can easily read and open via a QR code.
Since smartphones do not natively support local network UNC paths, you must transition the file from the local server to a cloud-based environment. This ensures cross-device compatibility and allows the file to be updated without changing the QR code.
Open your preferred cloud storage service (e.g., OneDrive or SharePoint) in a web browser and upload the target Excel spreadsheet from your local network drive.
Right-click the uploaded file in the cloud interface, select 'Share', configure your preferred access permissions (such as 'Anyone with the link can view'), and click 'Copy Link'.
Open a free online QR code generator, paste the copied cloud sharing link into the URL field, and download the generated QR code image.
Print or share the QR code. When you need to update the data, simply edit the file directly in your cloud storage. The URL remains identical, so the existing QR code will always point to the latest version.

Share Excel Spreadsheets Easily with WPS Office
WPS Office simplifies the process of distributing files to mobile devices. By utilizing the built-in WPS Cloud, you can instantly upload your spreadsheet and generate a secure sharing link or QR code, ensuring your mobile users always access the most current data without complex network configurations.
- 1. Open the spreadsheet: Launch WPS Office and open your Excel file.
- 2. Access sharing options: Click the 'Share' button located in the top-right corner of the application.
- 3. Upload to WPS Cloud: Select the option to create a link. WPS Office will automatically upload the file to your WPS Cloud and generate a shareable URL.
- 4. Share via Link or QR: Copy the generated web link to paste into a QR code generator, or use WPS Office's mobile features to display a QR code directly.

Frequently Asked Questions
Why doesn't a QR code for my local network file work on my phone?
Smartphones and their QR code scanners do not natively support Windows UNC network paths (e.g., \\Server\Folder\File.xlsx). They require standard web URLs (starting with http:// or https://) to locate and open files via a web browser or cloud app.
Will the QR code change if I update the Excel file?
If you host the file on a cloud service like OneDrive, SharePoint, or WPS Cloud and edit it there, the sharing link remains identical. As long as the URL doesn't change, your original QR code will continue to work and will display the latest updates.
Can I restrict who can open the Excel file after scanning the QR code?
Yes. When you generate the sharing link in your cloud storage service, you can configure the sharing settings to require a password, restrict access to specific users, or make the file read-only to prevent unauthorized edits.
How do users open the file after scanning the QR code?
Upon scanning the QR code, the user's phone will open the cloud link in their default web browser. Depending on their device settings and installed apps, they can either view the spreadsheet directly in the browser or be prompted to open it in a compatible mobile app like Excel or WPS Office.




