Microsoft KB Archive/185151

= WD98: Sample Macros Template Included in the Value Pack =

Article ID: 185151

Article Last Modified on 11/23/2006

-

APPLIES TO


 * Microsoft Word 98 for Macintosh

-



This article was previously published under Q185151



SUMMARY
This article identifies and describes the sample macros that are included with Word 98 Macintosh Edition. This template is located in the Value Pack folder on the Office 98 CD in the following path:

ValuePack:Programmability:Word:Sample Macros

To access this folder, follow these steps:


 * 1) Insert your Office 98 Macintosh Edition CD in the compact disc drive of your computer.
 * 2) Double-click the Value Pack folder.
 * 3) Double-click the Programmability folder.
 * 4) Double-click the Word folder.
 * 5) Double-click the Sample Macros template to open the template as Read-Only.

NOTE: You can save the template with a different name if you want to personalize any of the macros. However, Microsoft Technical Support does not support the modification of these macros.



MORE INFORMATION
Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Partner or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Partners, please visit the following Microsoft Web site:

https://partner.microsoft.com/global/30000104

For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site:

http://support.microsoft.com/default.aspx?scid=fh;EN-US;CNTACTMS

The Sample Macros template contains sample macros created by Microsoft Technical Support. To run any of these macros, click the macro name on the Sample Macros button which is available in the template.

Macro Names and Descriptions
The table below lists the macros and includes a brief description of each one. For additional information regarding modules and forms within the macros, see the Sample Macros template.   Macro                   Description -  AnsiValue               Provides the ANSI value for the selected character.

AutoCorrectUtility     Allows you to backup, restore and move AutoCorrect entries.

FindSymbol             Adds the Symbol dialog to Word's search and replace function.

InsertFootnote         A wizard interface that helps you create footnotes in the MLA or Chicago Manual of Style format.

TableCellHelper        Displays the Row and Column number for the current table cell.

SuperDocStatistics     Displays formatting information for the current document.

NormalViewHeaderFooter Provides a Header and Footer viewpane in                           Normal view.

EnhancedSpike          Changes Word's spike functionality to copy to                           spike rather than out to the spike.

SaveRemindInstall      Installs the Save Reminder tool into your StartUp folder.

Viewing the Macro Code
If you want to view the macro code, follow these steps:


 * 1) On the Tools menu, point to Macro, and click Macros.
 * 2) In the Macros In box, select the Sample Macros (Template), select the macro name, and then click Edit.

To copy any of these macros to your Normal template, use the Visual Basic Editor to copy the associated modules and forms. Or, to copy the macros using the Organizer, follow these steps:


 * 1) Open Sample Macros in the left pane, and open Normal in the right pane.
 * 2) Select the Macro Project Items tab.
 * 3) Use the Copy button to copy the appropriate Modules and Forms from Sample Macros to your Normal.

For more information about macros that are included in the Value Pack, click Contents And Index on the Help menu (or on the Balloon Help menu if you are using a version of the Macintosh operating system earlier than 8.0), click the Index button in Word Help, type the following text

macros, supplied with Word

and then click Show Topics. Select the "Use a macro supplied with Word" topic, and click Go To. If you are unable to find the information you need, ask the Office Assistant.

Additional query words: example examples samples code save remind reminder prompt user every x autosave

Keywords: kbhowto kbtemplate KB185151

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.