VBAで、いくつかの項目を配列に入れたいとき、まずDimで配列を宣言して、次にmyList(0) = ..., myList(1) = ...と、一行ずつ値を代入していく…。この方法、少し手間がかかると感じませんか? あらかじめ中身が決まっている、比較的小さな配列を、もっとシンプル ...
You can define initial values for the elements of a static array by listing the initial values in parentheses following the list of element names in the DECLARE or ARRAY statements. Commas are ...