Creating an HTML Version of a Memo

Because the memos will also be published on the company's intranet, one of Word's formatting themes can be used to provide the HTML formatting. A simple macro in a standard module can automate this procedure.

To create the macro, you need to open the code window of a standard module in the template. Because a standard module was added to the template for the definition of the btnOk-Clicked variable, all you have to do is to double-click the module to open the Code window.

Enter the macro shown in Listing 34.8. This macro begins by applying the Corporate theme to the document, changing its appearance for the intranet. The next section displays the Save As dialog box, after initializing the dialog box with a default ...

Get Special Edition Using Microsoft® Word 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.