Carl wrote:You can automate the Xy-to-Notepad sequence above with an XPL routine like the following (of course, edit the path to NOTEPAD.EXE as required):[BX_]sa{<}IF{<}VA$DE{>}>0{>} d{<}EI{>}/nv {<}PV01{>}[Q2_]You mean you can put an IF test in the middle between a BX and its Q2? How cool!Harry Binswanger hb@xxxxxxxx