Blank worksheets

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
jshawver
Posts: 1
Joined: Fri Jan 08, 2016 9:08 pm

Blank worksheets

Post by jshawver »

When we read an xlsx file containing blank worksheets, the LastCol and LastRow properties of the blank sheets is 0. When we read an xls file containing blank sheets, the LastRow and LastCol properties of the blank sheets is -1. Is this an expected difference between the two file versions?
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: Blank worksheets

Post by larsa »

Hello

I would have been better if xls and xlsx files returned the same value, but as it have been like this for several years, we can't change it as this is what users expect.
Lars Arvidsson, Axolot Data
Post Reply