Export entire sheet now implemented.

Fixes off-by-one error.