Ooooops, I already found one, I wrote "end" instead of "begin" at two of the "if" statements... Please discard the previous file and use this one. Arpad =================================================== -----Original Message----- From: Muranyi, Arpad Sent: Tuesday, August 16, 2005 11:41 AM To: ibis-macro@xxxxxxxxxxxxx Subject: A few additions to the library I did a little work (not as much I hoped for) on the library. Please see attached file. This is untested, so there may be bugs in my code... Arpad =================================================