Created
April 20, 2013 07:13
-
-
Save youcune/5425108 to your computer and use it in GitHub Desktop.
Variant型の配列に要素を追加するVBA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' Variant型の配列に要素を追加する | |
Sub Push(ByRef v As Variant, e) | |
ReDim Preserve v(UBound(v) + 1) | |
v(UBound(v)) = e | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment