Chris wrote: > reurnArr = theArr Methinks this line should be "returnArr", not "reurnArr"... Option Explicit is your friend. :) Paul.