Thread
:
Array Maintaining its values after execution
View Single Post
#
2
Posted to microsoft.public.excel.programming
Gary''s Student
external usenet poster
Posts: 11,058
Array Maintaining its values after execution
Dim s(2) As Integer
Sub demo()
MsgBox (s(0))
MsgBox (s(1))
s(0) = s(0) + 1
s(1) = s(1) + 1
End Sub
repeated execution of demo will show the values are retained
--
Gary''s Student - gsnu200723
Reply With Quote
Gary''s Student
View Public Profile
Find all posts by Gary''s Student