Fix Excel Adding Incorrect SharePoint Links to Formulas Copied from Word
Question details
Excel automatically inserts incorrect SharePoint workbook references when pasting a formula copied from Microsoft Word.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Copying and pasting formulas from a Word document into an Excel spreadsheet.
- Observed behavior
- The formula breaks and unexpectedly references a SharePoint path due to hidden formatting, smart quotes, or hyperlinks carried over from Microsoft Word.
Ensure that the formula you are copying from Word is structurally correct and doesn't contain hidden paragraph breaks or unusual formatting.
Strip Hidden Formatting Using Notepad
Pasting the text through Notepad removes all hidden Word formatting, hyperlinks, and smart quotes before it reaches Excel.
Microsoft Word often carries over invisible rich-text formatting and smart quotes that Excel misinterprets as external workbook links. A plain-text editor acts as a filter to sanitize the clipboard data.
Highlight the desired formula in your Microsoft Word document and press Ctrl+C to copy it.
Open the Windows Notepad application and press Ctrl+V to paste the formula. This strips away all rich-text formatting.
In Notepad, press Ctrl+A to select the plain text, then Ctrl+C to copy it again.
Click into the formula bar of your target Excel cell and press Ctrl+V to paste the sanitized formula.

Use Paste Special as Text in Excel
Use Excel's built-in Paste Special feature to bypass Word's formatting.
Disable Automatic Hyperlink Conversion
Prevent Excel from automatically converting recognized paths or text into hyperlinks.
Try WPS Office for Seamless Spreadsheet and Document Management
Tired of formatting bugs and unwanted SharePoint links when copying data? WPS Office offers a lightweight, highly compatible alternative to Microsoft Office, ensuring smooth data transfer between Word documents and Spreadsheets without unexpected formula errors.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your device.
- 2. Open Your Files: Launch WPS Office to seamlessly open your existing Word and Excel documents.
- 3. Copy and Paste Safely: Easily copy formulas between WPS Writer and WPS Spreadsheet using the built-in 'Paste Unformatted Text' feature to avoid hidden link generation.

Frequently Asked Questions
Why do smart quotes from Word cause formula errors in Excel?
Excel formulas require straight quotation marks ("). Microsoft Word often automatically replaces straight quotes with smart or curly quotes (“ ”) for typographical reasons. Excel does not recognize smart quotes as valid formula syntax, which can lead to broken references or syntax errors.
How do I remove existing hyperlinks from an Excel cell?
To remove a hyperlink without deleting the text, right-click the affected cell (or highlight a range of cells and right-click) and select 'Remove Hyperlink' from the drop-down menu.
Can I stop Word from creating smart quotes automatically?
Yes. In Microsoft Word, go to File > Options > Proofing > AutoCorrect Options. Under the 'AutoFormat As You Type' tab, uncheck the box for 'Straight quotes with smart quotes' and click OK.




