Skip to content

TypeError: Cannot read property 'getLastRow' of null (line 291, file "Code") #2

Open
@shanelcorbett

Description

@shanelcorbett

Hi,

When I run importOrderData I get this error notification: "TypeError: Cannot read property 'getLastRow' of null (line 291, file "Code")"

This is the full line 291:
lastInsertedRowNumber = sheet.getLastRow()-1; // gotta pick somewhere to start, let's start at the last row number

How do I correct this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions