WD6X: Supplemental Macros for Word 6.0 for Windows AvailableLast reviewed: July 30, 1997Article ID: Q123606 |
The information in this article applies to:
SUMMARYThe Microsoft Application Note titled "WD1025: Supplemental Macros for Word 6.0 for Windows" contains a file named INSTALL.DOC that will install several useful macros and a corresponding toolbar in Microsoft Word 6.0 for Windows. These macros are described in the "The Supplemental Macros" section below. You can obtain this Application Note from the following sources:
THE TEXT OF WD1025
Microsoft(R) Product Support Services Application Note (Text File) WD1025: SUPPLEMENTAL MACROS FOR WORD 6.0 FOR WINDOWS(TM) Revision Date: 11/94 1 DiskThe following information applies to Microsoft Word for Windows, version 6.0.
--------------------------------------------------------------------- | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY | | ACCOMPANY THIS DOCUMENT (collectively referred to as an Application | | Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER | | EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED | | WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR | | PURPOSE. The user assumes the entire risk as to the accuracy and | | the use of this Application Note. This Application Note may be | | copied and distributed subject to the following conditions: 1) All | | text must be copied without modification and all pages must be | | included; 2) If software is included, all files on the disk(s) must | | be copied without modification (the MS-DOS(R) utility diskcopy | | is appropriate for this purpose); 3) All components of this | | Application Note must be distributed together; and 4) This | | Application Note may not be distributed for profit. | | | | Copyright (C) 1994 Microsoft Corporation. All Rights Reserved. | | Microsoft and MS-DOS are registered trademarks and Windows is a | | trademark of Microsoft Corporation. PostScript is a registered | | trademark of Adobe Systems, Inc. | --------------------------------------------------------------------- INTRODUCTION ============The enclosed WD1025 disk contains a file named INSTALL.DOC that will install several useful Word 6.0 for Windows macros and a corresponding toolbar. These macros are described in the "The Supplemental Macros" section below. When you follow the installation instructions below, a template called Appnote1.dot will be copied to your WINWORD\MACROS subdirectory. This template provides the 18 supplemental macros and the Supplemental Macros toolbar. WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS APPLICATION NOTE IS AT YOUR OWN RISK. Microsoft provides this macro code "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.
INSTALLATION INSTRUCTIONS =========================To install these macros, do the following:
To remove (uninstall) these supplemental macros
Add Current Document to Work MenuFor easy access, the AddCurrentDocumentToWorkMenu macro adds the current document name to a menu named Work. After you add the document to the Work menu and close the document, you can reopen it by selecting the document name from the Work menu. You can remove documents you no longer use from the Work menu by doing the following:
ANSICharThe ANSIChar macro displays the ANSI character codes for the characters within a selection. It also allows you to print or display this list in a new document.
AutoText Names To DatafileAll of the names and addresses you added using the Word 2.x for Windows letter templates (LETBLOCK, LETPERSN, LETMODBK, LETMDSEM) are stored in Word 6.0 as AutoText entries that begin with the text "Name:". The AutoTextNamesToDatafile macro exports a copy of the names and addresses to a data source so that you can perform a mail merge. Run the AutoTextNamesToDatafile macro and select one of your letter templates. The macro creates a data source with the names and addresses from the template you selected.
Insert AutoTextEntryThe InsertAutoTextEntry macro allows you to view your AutoText entries within a specified template. Instead of one list box with AutoText entries from all available templates, this macro allows you to view and insert AutoText entries from a specific template. Choose a template name from the Current Template and Add-ins drop-down, select an AutoText entry name, and click the Insert button.
Column Row ReferenceThe ColumnRowReference macro returns the table column and row numbers for a single cell or cell range. Position your insertion point within a cell or select a range of cells and run the macro. The macro displays a message box containing cell references that you can then use within a formula field. For example, the following field adds the contents of table cells B3 and C3: {=SUM(B3:C3)} .
Record NumberThe RecordNumber macro can be used to number your records in a data source table. When you run the macro, a Rec_Num field is added with sequential numbers. For example:
Rec_Num Name Age
1 Joe Smith 23 2 Jimmy Phillips 31 3 Karen Lewis 27NOTE: This macro works only in a data source that does not include text before the table.
Word2 View Header FooterThe Word2ViewHeaderFooter macro opens the Word 2.x for Windows Header/Footer dialog box. To edit the header or footer text, select the appropriate options and choose OK. An editing pane will appear at the bottom of your screen.
PuzzleTake a break from your word processing tasks and try arranging puzzle pieces 1-15 in order. To slide a piece to the adjacent empty slot, click it.
App RunnerThe AppRunner macro brings up a dialog box that allows you to start commonly used applications, such as File Manager, Sysedit, Print Manager, and Control Panel.
DOSDirectoryThe DOSDirectory macro displays a dialog box similar to Word's Open dialog box. Select a file extension or type a file extension in the File Name box (for example, you can type *.w4w to retrieve a listing of files that end with the W4W extension). After you have selected the appropriate options, choose the OK button and the macro will retrieve a list of available files and directories. The directory listing is displayed in a new document window. You can then print or save the new document.
MS-DOS File UtilitiesBasic MS-DOS file management functionality is available using the DOSFileUtilities macro. For example, you can copy, move, delete, or rename files. You can connect to a network drive, create a new directory, and get system information.
Send Mail As Attachment or TextThe MailAsTextOrAttachment macro sends the current document as an attachment or as text. When you run the macro, Word prompts you to choose Text or Attachment. If you select Text, the text from the current document window is copied into a new mail message. If you select the Attachment option button, the document is added to a new mail message as an attachment.
Multi Select (Spike) and Multi Select Unload (Insert Spike)The MultiSelect macro allows you to collect items from your document and store them in Word's Spike. Unlike Word's Spike command, the MultiSelect macros don't cut the text from your document, but rather copy the text to the Spike. Once you have added a few items, you can insert the contents of the Spike at the insertion point. The MultiSelect and MultiSelectUnload macros extend the functionality of Word's Spike and InsertSpike commands. To copy items to the Spike, first select the text and then click the Multi Select toolbar button; continue selecting and choosing the Multi Select button to append as many items as you like. To insert the contents of the Spike into your document, click the Multi Select Unload button. Items added to the Spike are separated by paragraph marks. For more information on the Spike functionality in Word, see pages 78- 79 in the "Microsoft Word User's Guide."
Auto Correct UtilityThe AutoCorrectUtility macro allows you to back up and later restore your AutoCorrect entries. You can also choose to print a listing of your AutoCorrect entries or insert the entries into a new document window. When you run the Auto Correct Utility, a document named ACORRECT.DOC appears behind a dialog box. In the dialog box, you can choose to back up, restore, print, or insert your AutoCorrect entries into a new document. If you choose the Backup button, a backup of your AutoCorrect entries is stored in the ACORRECT.DOC file. The ACORRECT.DOC file can then be distributed to other users who can use the restore functionality (this allows you to distribute your AutoCorrect entries to other users). The ACORRECT.DOC file is located in your WINWORD\MACROS subdirectory.
NOTE: The AutoCorrect dialog box will appear briefly for each of your AutoCorrect entries. If you have a number of AutoCorrect entries, the AutoCorrect dialog box will flash several times (once for each AutoCorrect entry). Add Graphic Border ShadingThe AddGraphicShadow macro can be used to add a 3-D border or shading to a selected graphic or to all graphics within the current document. To see the shading, switch to print preview or page layout view.
WatermarkThe Watermark macro inserts a watermark into your document. If you are using a PostScript(R) printer, select the Text option, and then select the Use Code For PostScript Printer check box. If you don't have a PostScript printer, select the Text option and then choose the WordArt Text button, or select the Graphic option and then choose the Find Graphic button to select a graphic image.
Booklet PrinterThe FormatFoldOverBooklet macro allows you to print multiple pages on a single printed page. The macro copies your document text to a new document window, changes the formatting to two columns, and switches the orientation to landscape. The appropriate page numbers are added below each column. NOTE: If your printer supports duplex printing, choose Print from the File menu. Choose the Printer button and then choose the Options button. Set the duplex option to Long Edge and choose the OK button.
TO OBTAIN THIS APPLICATION NOTEThe following file is available for download from the Microsoft Software Library:
~ Wd1025.exe (size: 91506 bytes)For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q119591 TITLE : How to Obtain Microsoft Support Files from Online Services |
Additional query words: winword frequently requested word6 request book
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |