Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
配列の各要素を、後で ReDim で個別にサイズ変更できる動的配列にしたいと考えています。ArrayList を使用したり、2 次元配列を使用したりしたくありません。これは可能ですか?
Redim MasterArray(10) For x = 1 To 10 Redim SubArray(10) MasterArray(x) = SubArray Next MasterArray(1)(2) = 5 MasterArray(2)(2) = 6 MsgBox MasterArray(1)(2) ' shows 5 MsgBox MasterArray(2)(2) ' shows 6