XLS.Clear does not clear default formats?

Questions and answers on how to use XLSReadWriteII 5.
Post Reply
marnix
Posts: 1
Joined: Thu Jun 18, 2020 1:37 pm

XLS.Clear does not clear default formats?

Post 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?
larsa
Site Admin
Posts: 926
Joined: Mon Jun 27, 2005 9:30 pm

Re: XLS.Clear does not clear default formats?

Post by larsa »

Hello

Your solution is correct. I will implement it in the next update.
Lars Arvidsson, Axolot Data
Post Reply