ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ¨Ïarray() ¹³ additem¤@¼Ë¼W¥[item

Sub test()
    Dim a As Range
    Set a = Range("A1")
    Dim d()
    d = Array(a.Offset(, 3).Value, a.Offset(, 4).Value, a.Offset(, 6).Value) '3­Ó­È
    ReDim Preserve d(4) '¦h¥[¨â­ÓªÅ¶¡,«O¯d ²Ä1,2,3­Ó­È
    d(3) = "4"
    d(4) = "5"
End Sub
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

        ÀR«ä¦Û¦b : ¥ÌÄ@°µ¡BÅw³ß¨ü¡C
ªð¦^¦Cªí ¤W¤@¥DÃD