06-22-2012, 05:21 PM
Use "Preserve" keyword to retain value
Below is the example
Below is the example
Code:
a=array("a","b","c","d","e")
msgbox a(0) 'It displays a
ReDim Preserve a(15)
msgbox a(0) 'it retains value