Skip to main content

Each row of a sheet (Excel online)

Go through the rows of a worksheet (or a range) in OneDrive or SharePoint, one record a turn, the first row giving the column names.

Loop type in the Microsoft 365 toolkit · id ooa.microsoft365/excel_rows · 7 inputs, no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoMicrosoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
Remote pathStringNoWorkbook path in the drive.
SheetStringNoWorksheet name.
RangeStringNoRange address; all cells in use on the sheet when empty.
First row is the headerBooleanNotrueThe first row holds the column names.
DriveStringNome/driveWhose files: me/drive (your OneDrive), a person (ann@acme.com), a SharePoint site (contoso.sharepoint.com:/sites/Finance), a library of a site by name (contoso.sharepoint.com:/sites/Finance:/Invoices), or sites/{site-id}/drive or drives/{drive-id}. With an app sign-in, name a person or site.
Endpoint addressStringNohttps://graph.microsoft.com/v1.0Graph endpoint; change only for national clouds or testing.