Page 1 of 1

XLS.Clear does not clear default formats?

Posted: Thu Jun 18, 2020 2:04 pm
by marnix
I'm upgrading an application from XLSReadwrite version 4 to version 6.

In version 6 I use default formats.

All works fine until I do a "XLS.Clear" to start fresh.

After I select my default format and try to write to a cell, i get an access violation.

I have a workaround now by calling "XLS.CMDformat.Defaults.Clear" and re-adding my default formats after the "XLS.Clear".

What's the best way in working with default formats and XLS.Clear?

Re: XLS.Clear does not clear default formats?

Posted: Mon Jun 22, 2020 7:58 am
by larsa
Hello

Your solution is correct. I will implement it in the next update.