PS, I should have said that at times my code is consistent with the d/s example. I have tried swapping tblwt+* for tblwt*+ etc Joe ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7797 / Virus Database: 4656/13173 - Release Date: 10/08/16 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .