Thanks Dave,
I pasted your lines of code into my program but now I get a slew of
"ERROR Overwriting previous address contents" messages. Not sure how to handle this.

Cheers
BrianT