Forum Discussion
How to stop users adding links to other workbooks
The problem is not breaking external links. I just wanna prevent my users from using external links.
Users from overseas use Excel budget files (stored in sharepoint) for providing the headoffice with budget monthly figures. I consolidate data coming from these excel files with PowerQuery (Excel or PowerBI).
I just wanna prevent users from using external links to other excel files stored in their pc. I want them to have to type figures. When I receive those files they already contain many "#REF!", so breaking links doesn't help ( they should break external links before sharing the files , but they forget to do that).
When users enter figures by using external links to their excel files I receive many "#REF!" cell which generate an error when I import this files with PowerQuery in another consolidation file or in PowerBI.
How to prevent them from using external links ?
Block or unblock external content in Office documents
To help protect your security and privacy, Microsoft Office is configured by default to block external content—such as images, linked media, hyperlinks, and data connections—in workbooks and presentations. Blocking external content helps to prevent Web beacons and other intrusive methods that hackers use to invade your privacy and lure you into running malicious code without your knowledge or consent.
Thank you for your understanding and patience
Nikolino
I know I don't know anything (Socrates)
- NikolinoDEJun 09, 2021Platinum Contributor
Question: The problem is not breaking external links. I just wanna prevent my users from using external links.
You could also do it with the Protection Worksheet.
First:
First you have to select the cells with the hyperlinks,
then right mouse button, format cells, click on Protection above, clicked the Locked box, OK.After that:
By going to Review, protect sheet. New window opens. Protect worksheet and contents of locked cells check the box.
Select locked cells, check box Empty.So nobody can press on the hyperlink, see yes, press on it no. At least that's how it is in Excel 2016.
Additional Info:
Description of link management
Thank you for you all understanding and patience
Nikolino
I know I don't know anything (Socrates)
- ArkinienFeb 13, 2024Copper Contributor
As per original query. We are trying to PREVENT links to other workbooks to OCCUR to begin with
NOT TRYING TO
– fix links on a document
– Remove links
– Manage some areas or cells of a document.
– Find procedure for a single operation
WE WANT To
- Find the GLOBAL setting that that prevents copying data from one workbook to another and creating a link to the ordinal document when pasting to another. ALWAYS.
In years of using Excel, the "link to other spreadsheet feature" has never been useful. I understand how that could be nice, but it's the exception, not the what's needed by default. Surely there is a way to just turn it OFF somewhere?.
Where?
Thanks.
- NikolinoDEFeb 14, 2024Platinum Contributor
So far, I can understand, you are seeking a way to prevent Excel from automatically creating links to other workbooks when copying data from one workbook to another. This feature can indeed be inconvenient in certain situations.
To prevent Excel from creating links to other workbooks by default, you can adjust the settings in Excel to disable this behavior.
Here is how you can do it:
- Open Excel: Launch Microsoft Excel on your computer.
- Go to Options: Click on the "File" menu in the top-left corner of the Excel window, then select "Options" from the menu. This will open the Excel Options dialog box.
- Navigate to Advanced Options: In the Excel Options dialog box, click on the "Advanced" tab on the left-hand side.
- Find Cut, copy, and paste options: Scroll down until you find the "Cut, copy, and paste" section.
- Adjust settings: Within the "Cut, copy, and paste" section, you should see various options related to copying and pasting. Look for the option that says "Cut, copy, and sort inserted objects with their parent cells" or similar.
- Disable linking: Uncheck the box next to the option that mentions linking or pasting objects with their parent cells. This option may be named differently depending on your version of Excel, but it will typically refer to pasting objects or data with links.
- Apply changes: After unchecking the appropriate box, click "OK" to apply the changes and close the Excel Options dialog box.
By disabling this option, Excel should no longer create links to other workbooks by default when copying and pasting data. Keep in mind that this change will apply globally to all Excel workbooks on your computer, so you will not need to adjust settings for each individual workbook.