File Sharing Problems

How to Create a QR Code to Open an Excel File on Your Phone

Muhammad TalhaMuhammad Talha Oct 28, 2026 868 views

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.

How to Create a QR Code to Open an Excel File on Your Phone
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.
Before you start

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.

Solution 1Recommended

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.

1
Upload your file

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.

2
Create a sharing link

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'.

3
Generate the QR code

Open a free online QR code generator, paste the copied cloud sharing link into the URL field, and download the generated QR code image.

4
Distribute and update

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.

Upload the Excel File to a Cloud Service and Generate a Web Link
Dynamic Updates: Using a cloud sharing link means the QR code itself never needs to be regenerated when the Excel file content is modified.

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. 1. Open the spreadsheet: Launch WPS Office and open your Excel file.
  2. 2. Access sharing options: Click the 'Share' button located in the top-right corner of the application.
  3. 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. 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.
Built-in WPS Cloud storage for easy file hostingOne-click sharing link and QR code generationFully compatible with Microsoft Excel (.xlsx) formatsCross-platform support for Windows, Mac, iOS, and Android
microsoft office alternative - wps office

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.