
 real name - 2013-02-24 12:31:59 - 
In reply to message 2 from Sergey Shuchkin 
My file is a premade one with one large sheet and two empty ones. I'm sorry but I'm not allowed to share it.
In my case it seems that only the width dimension is being set to empty sheets, thus $ws->dimension['ref'] is only 'A1'.