Bruce:

Thanks for your help. Those changes solved it. Which line was responsible for keeping it from working?

CMCON = 7 ' all digital - comparators disabled

OR

The RETURN in the IF THEN block?

Thanks again for your help!

Jeff