O'Reilly logo

Special Edition Using Microsoft® Word 2000 by Bill Camarda

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Communicating with the User

Many times it's useful to give some information to the user while your macro is running. You might want to inform the user of the progress of a long macro, or tell him or her that the macro found a problem in the document. You can use a message box to present such messages to the user.

Besides telling the user something, you might want to ask a question. It might be as simple as whether or not the user wants to continue with a long process, or what name the user wants to put in the signature block of a letter.

As you will see in the next couple of sections, you can use both message boxes and input boxes to ask these simple questions. For more complex data input, you can design custom dialog boxes, also known as forms ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required