Excellent Dave! Thanks a lot. Will look up that article about variable scope