Hi Nikolay,
This is suspiciously similar to default case, in last else block. Could it mean VariantChangeTypeEx() should be fixed instead?
I made it's own if, since I think it behaves different to the one below. After more testing, it appears all errors are treated as an "empty" value.
No, VariantChangeTypeEx is working as expected, and I'm in the process of writing tests to show this.
Best Regards Alistair Leslie-Hughes