Skip to main content
Version: Streamsheets 3.0

GOOGLE.SHEETS.SPREADSHEET.SHARE

Premium
Experimental

Shares a spreadsheet.

Syntax

=GOOGLE.SHEETS.SPREADSHEET.SHARE(Spreadsheet-Id, Account eMail, [Role])

Arguments

NameTypeDescription
Spreadsheet-IdTextThe id of the spreadsheet to share.
Account eMailTextAn eMail address the user to share the spreadsheet with.
Role (optional)RoleOptional permission role. Defaults to "writer".

Options:
"reader": Ready only permission.
"writer": Read and write permission.

Return

TypeDescription
BooleanTRUE if share was successful.

Examples

FormulaResultComment
=GOOGLE.SHEETS.SPREADSHEET.SHARE(B2, "user@google.com")
TRUEShares spreadsheet with ID given in B2.