Jun 6, 2003 #1 jass1220 Programmer May 20, 2003 88 AE Public ArrayNames(0 To 3) As String i don't want to limit my array with this (0 To 3).. coz i don't know how many items will be in it .. so what can i do .. ?
Public ArrayNames(0 To 3) As String i don't want to limit my array with this (0 To 3).. coz i don't know how many items will be in it .. so what can i do .. ?
Jun 6, 2003 #2 LazyMe Programmer Jan 13, 2003 938 MX Public ArrayNames() As String .....later on: Redim (Preserve) ArrayNames(your_required_size) Check out redim and preserve..... Greetings, Rick Upvote 0 Downvote
Public ArrayNames() As String .....later on: Redim (Preserve) ArrayNames(your_required_size) Check out redim and preserve..... Greetings, Rick
Jun 6, 2003 Thread starter #3 jass1220 Programmer May 20, 2003 88 AE didn't get u !! Upvote 0 Downvote
Jun 6, 2003 #4 LazyMe Programmer Jan 13, 2003 938 MX What didn't you get? Did you check MSDN for redim and preserve? Greetings, Rick Upvote 0 Downvote
Jun 6, 2003 #5 TomKane Programmer Jul 24, 2001 1,018 AU YOu could try using a collection - again you'll find info about that in msdn as Rick advises. Upvote 0 Downvote