Browse docs dashboard

Sharing & Permissions

Who can use Sheetminer on a shared Google Sheets™ spreadsheet, how to delete and restore documents, how long removed documents are kept, and fixes for permission messages.

Last updated

Sheetminer is often used on a spreadsheet that other people also edit. This page explains who can add, delete and restore documents, how deleting works, and what to do when Google or Sheetminer blocks access.

What do I need to use Sheetminer on a shared spreadsheet?

  • Edit access to the spreadsheet. Google only lets people who can edit a file run an add-on on it. If you can only view or comment, Sheetminer shows “You need edit access to this spreadsheet to use Sheetminer. Ask the owner to share it with you as an editor.”
  • The Sheetminer add-on installed on your own Google account.
  • All the permissions Sheetminer asks for when you install it (see below).

Who can add, delete and restore documents on a shared spreadsheet?

Anyone who can open Sheetminer on the spreadsheet. It does not matter who uploaded the document. There is no owner check, in the same way that any editor can change any cell.

Emailed documents work the same way once they are processed. Each editor has their own email address and Inbox for the spreadsheet. See Can several people email the same spreadsheet?

Sheetminer records that you have used it on a spreadsheet. It does not read your role from Google. In practice only editors can reach the document list, because Google does not let viewers or commenters run the add-on. If someone loses edit access later, Sheetminer keeps its record of their access, but they can no longer open Sheetminer on that spreadsheet.

What permissions does Sheetminer need?

Sheetminer asks for these permissions, and needs all of them to run:

  • See and edit this spreadsheet, to read your selection and write extracted data into it
  • Open the Google Drive files you pick, to extract data from them
  • Connect to Sheetminer’s servers, where your documents are processed
  • See your email address, to sign you in to your Sheetminer account
  • Show the Sheetminer sidebar and dialogs in Google Sheets™
  • Run in the background. Sheetminer doesn’t use this yet; it is for inserting emailed documents automatically, which is coming later

Sheetminer can only open Google Drive files you pick in the “Choose files from Google Drive” window. It cannot browse the rest of your Drive.

How do I delete a document from a spreadsheet?

  1. Open the sidebar: click Extensions → Sheetminer → Open.
  2. In the Extract tab, tick the documents you want to delete in the Documents list.
  3. Click the trash icon (Delete selected documents) above the list.
  4. In Delete Documents?, click Delete.

A document that failed to process also has its own Delete button on its row.

What should I see after deleting a document?

  • The document is gone from the Documents list.
  • A message such as “1 document removed.” with an Undo button. It stays for about 9 seconds.
  • Cells sourced from that document can no longer be viewed in the Inspector.
  • The file in Google Drive is not changed. Deleting only removes the document from this spreadsheet in Sheetminer.

How do I restore a deleted document?

Click Undo on the “1 document removed.” message. The document comes back with its cell links, so Inspect works again on the cells that came from it.

There is no trash or “recently deleted” view. Once the message has gone, you cannot restore the document from the sidebar. Upload it again instead.

How long are deleted documents kept?

A document removed from every spreadsheet it was on is permanently deleted after 30 days, with its stored files. Until then it is kept so that Undo can restore it. A document that is still on another spreadsheet is not deleted.

Do I get pages back when I delete a document?

No. The Delete Documents? window says “Deleting documents does not give back the pages they used.” Pages pay for processing, which has already happened. See Pages & Usage.

How do I fix permission and sharing messages?

MessageWhat it meansWhat to do
You need edit access to this spreadsheet to use Sheetminer. Ask the owner to share it with you as an editor.You can only view or comment on this spreadsheet.Ask the owner to share it with you as an editor.
Sheetminer needs all its permissions to workSome permissions were not granted when you installed Sheetminer.Click Grant permissions, accept every permission, then click I’ve granted them, continue.
Close this sidebar, then reopen it from the Sheetminer > Open menu to grant them.Sheetminer could not get a link to Google’s permission screen.Close the sidebar and open it again from Extensions → Sheetminer → Open.
Sheetminer needs permission you haven’t granted yet.A window could not open because a permission is missing.Click Grant Access and accept the permissions.
Google blocked Sheetminer for this account. …You are signed into several Google accounts, or your Workspace admin has not allowed Sheetminer.Click How to fix this. Open the sheet in the account where Sheetminer is installed, or ask your admin to allow Sheetminer.
You’re signed into more than one Google account, and Sheetminer is running as …Google is running Sheetminer as a different account from the one the sheet is open in.Open the sheet in a browser window signed into one account only, such as an incognito window or a separate Chrome profile.
Could not delete this document. Please try again.The delete did not go through.Try again.
Could not restore the document. Please try again.Undo did not go through.Upload the document again if it is still missing.
Access Denied / File Not Accessible (in the Inspector)Sheetminer cannot open the source file.Click Grant Access and select the file. See Inspect.
Couldn’t reach Google. Check your connection and try again.The permission check could not reach Google.Check your connection and click Try again.