A FUNction to Align Text
February 1, 2006 Hey, Ted
I read with interest your article on the IIF function. I have a function called alignText that I use in just about every program. I use it primarily to center headings, but have found it useful for right adjust as well. I have had this for a long time, so it is in traditional form, not freeform. Notice that there are three optional parameters. The alignment defaults to centering, and then two additional parameters are used to change the display attribute if I want to.
— Gordon Larkins, ASK Senior Technical Consultant
It was nice of Gordie to share his