|
-
Aug 5th, 2019, 07:01 PM
#1
Thread Starter
Lively Member
[RESOLVED] Using UBound elements from existing array to create new array?
Hi all, been a while but I'm back at it but little fuzzy on this one. How do I take the UBound() elements from an existing array, and use it to populate a brand new array? For example, let's say the existing array has UBound(10000). A new string array, let's call it NewArrayLineCounter() is created. NewArrayLineCounter() would need to be created, and then I assume using a For...Next loop to populate each new array element with a line number reference. So example array contents might include NewArrayLineCounter(1) = "Line000001", NewArrayLineCounter(2) = "Line000002", etc. through 100000 in this case (note in advance I can't use a multidimensioned array or that would have been preferred). Thanks for any advice, I hope it's something simple I'm overlooking...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|