Yeah, I knew there was a simple solution, it just was eluding me. JimB pointed out to me the fact that DO's are ByRef by default and that escaped me somehow. BTW, in your example, you were using an "l" as the prefix for your array....how can it be "l" if it's being passed off? My turn for the evil grin :-)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05