>I tried it in columns first (seems more natural) but then >the export to CSV (comma separated values) comes out wrong >...it seems to write out all the columns for row 1, all >the columns for row 2, etc...there may be some clever way >around that...dunno.... Do not do an export. Just highlight the range you want to use, and do a copy/paste into your asm source file, and it will have the appropriate number of rows and columns pasted as CSV. An export always does the whole sheet AFAIK. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads