The Wayback Machine - https://web.archive.org/web/20210918121538/https://github.com/topics/multidimensional
Skip to content
#

multidimensional

Here are 118 public repositories matching this topic...

VBA-Arrays
iwconfig
iwconfig commented Feb 9, 2020

ArrayPop cannot ReDim when the array is only 1 in length
https://github.com/todar/VBA-Arrays/blob/38e25983daf58ad5ee9c8dbb959d1b54a53ad941/ArrayFunctions.bas#L539-L544

My solution was to check the length and use Erase when ArrayLength(SourceArray) < 1

If ArrayLength(SourceArray) > 1 Then
    ReDim Preserve SourceArray(LBound(SourceArray, 1) To UBound(SourceArray, 1) - 1)
Else

Improve this page

Add a description, image, and links to the multidimensional topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the multidimensional topic, visit your repo's landing page and select "manage topics."

Learn more