Please break up the long line so that the window does not need to be scrolled.

Why not use some of the available UDFs and/or some scripts that have already been posted for similar tasks.

Then wrap it up in KiXforms.