Sub topic 3
Choosing link types and permissions
This chapter covers the link types behind the Share button and how each one controls access. It also covers how permission levels and link settings combine, and how to change or revoke access later. It assumes you can already save a workbook to OneDrive or SharePoint and send an invitation with the Share button. It also assumes you have basic Excel skills and a Microsoft 365 or Microsoft account.
What a sharing link actually is
A sharing link is a web address that points to your workbook, plus a set of rules stored on the server. Anyone who opens the link is checked against those rules. The link text is not a password. The rules decide who gets in and what they can do.
Each link has two parts that you set separately:
- Audience: who the link works for.
- Permission: what those people can do once they are in.
Most sharing problems come from setting one of these correctly and forgetting the other.
Link types
When you select Share and then open the link settings, Excel offers up to four audiences. Which ones you see depends on your account type and on your organization's policy.
| Link type | Who can use it | Sign-in required | Typical use |
|---|---|---|---|
| Anyone with the link | Anyone who has the link, including people outside your organization | No | Public or low-risk files |
| People in your organization | Signed-in members of your organization who have the link | Yes | Internal team files |
| People with existing access | People who can already open the file | Yes | Sending a link to current collaborators |
| Specific people | Only the people you name | Yes | Sensitive or controlled files |
Anyone with the link
This link works for whoever holds it. If the recipient forwards it, the new person can open the workbook too. Use it only when losing control of the file would not matter. Many organizations disable this type, so you may not see it.
People in your organization
Anyone signed in to your Microsoft 365 tenant (your organization's account space) can use the link. Outsiders cannot, even if they receive it. This is a good default for internal work, but it still allows forwarding inside the company.
People with existing access
This option does not grant anything new. It gives you a link to share with people who already have permission, for example through a SharePoint site or a previous invitation. It is useful in an email or chat message when you only need to point people to the file.
Specific people
You type the email addresses of the people who may open the file. Only those people can use the link, and they must sign in. A forwarded link fails for anyone not on the list. Use this for budgets, personnel data, or anything you must be able to account for.
Permission levels
For each link, you choose what recipients can do.
| Setting | What the recipient can do |
|---|---|
| Can edit | Change cells, add sheets, and co-author in real time |
| Can view | Read the workbook in a browser or in Excel without changing it |
| Can view with Block download (where offered) | View in the browser only, without downloading a copy |
Two details matter here:
- Can view stops edits to your file, but it does not stop copying. A viewer can select cells and copy them elsewhere. A viewer who is allowed to download can also save a separate copy.
- Block download restricts that. It is available for some link types, mainly on work or school accounts, and the admin may control it.
Setting a link in Excel
- Open the workbook from OneDrive or SharePoint. A workbook saved only on your local disk cannot be shared with a link.
- Select Share in the upper-right corner of the ribbon.
- Select the link-settings gear, or the line that shows who can open the link.
- Choose the audience.
- Under Other settings, choose Can edit or Can view. If shown, set an expiration date or password (see below).
- Select Apply.
- Enter names or email addresses, add an optional message, and select Send. You can also select Copy link to paste it into your own message.
Extra link settings
Some accounts show further controls in the link settings.
- Expiration date: after this date, the link stops working. This suits short projects and external reviewers.
- Password: recipients must enter it before opening the file. This option is generally offered only for Anyone links.
- Block download: described above.
Expiration and password protect against old links that were forgotten in old emails. They do not replace choosing a narrow audience.
How permissions combine
A person can reach a file by more than one route. They might hold a link and also belong to a SharePoint group. In that case the effective access is the combination of everything they have been granted, and the most generous grant wins.
Consider these cases:
- You send a Can view link to Dana. Later you add Dana to the site's Members group, which has edit rights. Dana can now edit, even when she uses the view-only link.
- Your organization's policy removes Anyone links. A link you made earlier may stop working, or stop being created at all.
- A sensitivity label or a SharePoint site setting can limit what a link may do, whatever you pick in the dialog.
The practical lesson is that the link dialog is not the only place where access is decided. When someone reports they can or cannot do something unexpected, check the file's Manage access panel and the site permissions, not only the link you sent.
Reviewing and changing access
Access is not permanent. To see who has access:
- Select Share, then select the more options menu (the three dots) and choose Manage access. In some versions this is a line in the Share pane.
- Review the list of links and people.
- For a person, change the permission between Can edit and Can view, or choose Stop sharing.
- For a link, select the three dots and choose Delete link.
Deleting a link breaks that address for everyone who used it. People who were invited by name through other routes keep their own access. Changing a permission applies right away, though a person who already has the file open may need to reload before the change is visible.
Reading permissions in a macro
You can check the file's state from VBA, but permissions themselves are managed in the sharing service, not in the workbook object. The next macro reports whether AutoSave is on, which is a useful companion check because AutoSave only applies to cloud-stored files.
Sub ReportAutoSaveState()
If ActiveWorkbook.AutoSaveOn Then
MsgBox "AutoSave is on. Edits are saved to the cloud automatically."
Else
MsgBox "AutoSave is off. Turn it on to co-author in real time."
End If
End SubIf the message says AutoSave is off, confirm that the workbook is stored in OneDrive or SharePoint before you blame the link settings.
Common mistakes
- Choosing Anyone with the link for convenience. It is easy to send, but it cannot be traced to a person. Prefer Specific people when the file holds anything private.
- Sending Can edit when Can view is enough. Editors can delete data, rename sheets, and change formulas. Version History can recover this, but it is better not to need it.
- Assuming Can view protects the data. Viewers can still copy values, so view-only is not a confidentiality control.
- Forgetting the recipient's account. A person signed in with a personal account may be refused by a link meant for your organization.
- Ignoring expiration. Links for contractors should have an end date.
Choosing quickly
Use this order when you decide:
- Start with Specific people and Can view.
- Raise to Can edit only for those who must change data.
- Move to People in your organization when the group is large and the file is not sensitive.
- Use Anyone with the link only for content that is safe to publish, and add an expiration date if possible.
Exercise
You shared a budget workbook with a Specific people link set to Can view. A colleague named Sam is also in a SharePoint group that has edit rights on the folder holding the file. Sam opens your view-only link. Can Sam edit the workbook, and why?
Show answer
Yes. Access is the combination of everything granted to the person, and the most generous permission applies. Sam's group membership gives edit rights, so the view-only link does not restrict Sam. To stop Sam editing, change the folder or group permissions, or remove Sam from the group.
Exercise
A contractor needs to read a forecast workbook for two weeks and must not be able to pass it on. Which link audience, permission, and extra setting would you choose?
Show answer
Use Specific people with the contractor's email address, set Can view (with Block download if available), and set an expiration date two weeks out. A named-person link fails if forwarded, and the expiration closes access automatically.