Curly Braces in VBA (Tip #2145) from Scott Sawdy draws a large curly brace given two points. The program example is supplied as a text file that you can copy into a VBA macro module. Once in the VBA environment, run the macro named Brace. It requests two points that represent the end points of the brace. The brace is always drawn so that it's pointing to the left of the line defined by the two points you enter. If you want the brace to face left, give the top point first. For a right facing brace, give the bottom point first. If you're looking for a nice VBA example that shows the basics, you found it in this tip! |