This post belongs in the Slick-C® Macro Programming forum (the SlickEdit User Macros forums is for posting completed macros that others can download and install).