Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Thanks this worked flawlessly. I did know the size of array ahead of time so no need to do the redim. Commented Oct 31, 2010 at 3:41
  • note that my catch statement merely skips setting the value in that array for that position. You should probably do something more robust such as exiting or forcing that index's value to -1 to indicate an error when you loop through it later Commented Oct 31, 2010 at 3:44