If you erase it, it will be gone. If you Redim it, you can use it again. Erasing an array is like setting an object to nothing. If you want to use the array more, then Redim it. Otherwise, erase it.
Rick Rose -------Original Message------- From: [EMAIL PROTECTED] Date: 09/16/04 09:36:39 To: [EMAIL PROTECTED] Subject: [vbhelp] Re: Clear Array Thank you Rick and Shawn for your replies! I just have a question about the commands. I know they work, but I would like to understand what's going on. What is "ubound"? unbound? my array is like this locations(50,5) so I can "ERASE locations" to reset it to 0,nothing,blank, etc? or REDIM (ubound(locations)) ? Which does the same thing but just seems a little more complicated? Thanks in advance. [c] ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [EMAIL PROTECTED] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links . [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [EMAIL PROTECTED] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
