https://bz.apache.org/ooo/show_bug.cgi?id=124154
bmarcelly <marce...@club-internet.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marce...@club-internet.fr --- Comment #4 from bmarcelly <marce...@club-internet.fr> --- Your explanation seems right. Run this code: Dim v(3) v(1) = 5 Redim v(v(1)) MsgBox UBound(v) The message displays 0 instead of 5. Same result with : Redim Preserve v(v(1)) My opinion is this is a bug : Basic should first evaluate the expression v(1), then execute the Redim of the variable. Anyway, this bug has little impact since the work around is a simple and cleaner code. Either you consider it a bug, then set CONFIRMED, or you consider it an incorrect use of Basic, then set to INVALID. -- You are receiving this mail because: You are on the CC list for the issue. You are the assignee for the issue.