You do not appear to have a spreadsheet object, so as Wysota says, you are accessing a null pointer.
Forum Rules
Bookmarks