Formatting Issues

How to Link Excel Cell Values in Word Without Losing Formatting

Steve KSteve K Oct 26, 2026 872 views

Question details

The user needs to link specific Excel cell values into a Word paragraph and refresh the data without altering the existing Word text formatting.

How to Link Excel Cell Values in Word Without Losing Formatting
Product
Word, Excel
Device & OS
not provided
Scenario
Creating dynamic documents or reports in Word that display live data figures (like revenue for different years) pulled directly from an Excel spreadsheet.
Observed behavior
When the linked Excel data is updated and the Word document is refreshed to retrieve the latest values, the formatting of the text within the Word document changes unexpectedly.
Before you start

Ensure both your Word document and Excel spreadsheet are saved to a stable location on your computer, as moving the files later can break the data links.

Solution 1Recommended

Apply Formatting Switches to the Word Link Field

Modify the link field codes in Word to force the linked Excel data to inherit the Word document's native text formatting.

By default, linked objects may attempt to retain their source formatting from Excel. Adjusting the field codes with specific text formatting switches tells Word exactly how to display the data within your sentence.

1
Reveal Field Codes

In your Word document, press 'Alt + F9' on your keyboard. This toggles the document view to display the underlying field codes instead of the linked Excel values.

2
Locate and Edit the Link Field

Find the specific LINK field code for the Excel value. Click inside the bracketed code and replace the existing switches at the end with the following string: \a \f 5 \t

3
Hide Field Codes

Press 'Alt + F9' again to hide the field codes and return to the normal document view.

4
Refresh the Link

Right-click the linked value in your sentence and select 'Update Field'. The data will refresh with the latest Excel values while perfectly preserving your paragraph's formatting.

Apply Formatting Switches to the Word Link Field
Understanding the Switches: Using these specific switches ensures Word treats the linked Excel cell as standard text rather than a standalone object, seamlessly blending it into your sentence structure.
Seamless Document Integration

Easily Link Data Between WPS Spreadsheet and WPS Writer

With WPS Office, integrating dynamic data from Spreadsheets into Writer documents is intuitive and provides robust controls to maintain your document's formatting. It fully supports Microsoft Office document formats.

  1. 1. Copy Data from Spreadsheet: Open your data file in WPS Spreadsheet, select the cell containing the value you want to link, and press 'Ctrl + C' to copy it.
  2. 2. Use Paste Special in Writer: Switch to your WPS Writer document. Place your cursor in the sentence, click the drop-down arrow under the 'Paste' button on the Home tab, and select 'Paste Special'.
  3. 3. Select Paste Link: In the dialog box, choose the 'Paste Link' option, then select 'Unformatted Text' to ensure the value adopts the styling of your current paragraph.
  4. 4. Update Links Anytime: Whenever the source spreadsheet changes, simply right-click the value in WPS Writer and choose 'Update Link' to instantly fetch the new data without losing formatting.
Easily paste and link live spreadsheet data into text paragraphs.Fully compatible with Microsoft Word (.docx) and Excel (.xlsx) formats.Advanced 'Paste Special' options to inherit destination formatting automatically.Free and lightweight alternative for everyday office tasks.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my linked Excel data change font when updated in Word?

By default, Word may try to retain the original source formatting from Excel. If the field code lacks the proper text or formatting switches, refreshing the link overrides the paragraph's native Word styling.

How do I view field codes instead of the linked values in my document?

You can toggle the display between the field codes and their results by pressing 'Alt + F9' on your keyboard. Alternatively, right-click the specific link and choose 'Toggle Field Codes'.

Can I link multiple Excel cells into a single Word paragraph?

Yes, you can copy and paste-link multiple individual cells into different parts of a single paragraph. Each will act as its own field code, and you can apply the formatting switches to each one individually.

What happens to the links if I move the Excel file to another folder?

Moving or renaming the source Excel file will break the dynamic link in Word. If this happens, you must right-click the link, select 'Linked Worksheet Object' or 'Edit Links', and update the source path to the new file location.