https://bugs.winehq.org/show_bug.cgi?id=53807
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- Hi,
this is about dim rx(4) that creates a fixed array that you can't redim later.
I posted a fix https://gitlab.winehq.org/wine/wine/-/merge_requests/1512. Please run your tests on Windows next time, as well as on Wine.
For wine we'll need this restriction to be implemented as well. I suspect it's using FADF_FIXEDSIZE flag for it, and then Redim fails with oleaut32 API. This needs tests on its own of course.