ࡱ; vt()  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuwxyz{|}~Root Entry Fpfp@CompObjbWordDocument\ObjectPoolCepCep  FMicrosoft Word 6.0 Document MSWordDocWord.Document.6;  Oh+'0  $ H l   Dh!C:\WINWORD6\TEMPLATE\APPNOTE.DOTLinda L. JohnsonSuzanne Morrison@#E@ܥe= e)1\-NNVVVVV4bWbWbWbWbWvWW"bW[WWWWWWWW WHZJZJZJZ!kZZ[\TT\T[VX "WWXX[XVVWWXXXXVWVWHZVVrVVVVXHZXDXMicrosoft Word for WindowsVersion:6.0Product Support ServicesSubject:Supplemental Macros for Word 6.0 for WindowsApplication NoteContents:4 Pages, 1 Disk11/94 SYMBOL 45 \f "Symbol" WD1025 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 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 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. This document was created using Microsoft Word for Windows. 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: 1. Insert the enclosed WD1025 disk in the appropriate floppy disk drive. Copy INSTALL.DOC and XXDOSDIR.PIF from the disk to a temporary directory or to your Word for Windows program directory. 2. Start or switch to Microsoft Word for Windows. 3. From the File menu, choose Open. Select the INSTALL.DOC file and choose the OK button. 4. A prompt appears asking you if you want to install the supplemental macros. Choose Yes. When the installation is finished, a message box appears indicating that the installation is complete. (Note: The installation process may take a few minutes, depending on the speed of your computer.) 5. At the bottom of the Word screen a toolbar appears with a single button titled Show Macro Toolbar. Click the Show Macro Toolbar button to access the macros. 6. A toolbar appears along the bottom of the Word screen that contains a toolbar button for each of the macros from this Application Note. To determine which macro is assigned to a button, position your mouse over the button and read the ToolTip text. Note: If a ToolTip does not appear, choose Toolbars from the View menu and select the Show ToolTips check box. When the Supplemental Macros toolbar is available, the Appnote1.dot file is loaded as a global template. If you click the Hide Toolbar button on the Supplemental Macros toolbar, the toolbar is hidden and the Appnote1.dot file is no longer a global template. To remove (uninstall) these supplemental macros 1. From the Tools menu, choose Macro. 2. From the Macros Available In list, select Normal.dot (Global Template). 3. In the Macro Name box, select ShowMacroToolbar and choose the Delete button. When Word asks you to confirm the deletion, choose the Yes button. Choose the Close button. 4. From the File menu, choose Templates. 5. From the Global Templates And Add-ins box, select Appnote1.dot and choose the Remove button. Choose OK. 6. Switch to Windows File Manager and delete the Appnote1.dot file from your WINWORD\MACROS subdirectory. The Supplemental Macros  Add Current Document to Work Menu For 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: 1. Press ctrl+alt+hyphen (-). 2. Select the document name from the Work menu. Note: The document name that you choose to remove cannot be the active document.  ANSIChar The 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 Datafile All 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 AutoTextEntry The 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 Reference The 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. A message box resembling the following is displayed.  The macro displays 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 Number The 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_NumNameAge1Joe Smith232Jimmy Phillips313Karen Lewis27Note: This macro works only in a data source that does not include text before the table.  Word2 View Header Footer The 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.   Puzzle Take 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 Runner The 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.  DOSDirectory The DOSDirectory macro displays a dialog box similar to Words 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 Utilities Basic 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 Text The 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 Utility The 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 Shading The 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. The results of the AddGraphicShadow macro are shown to the right. To see the shading, switch to print preview or page layout view.  Watermark The Watermark macro inserts a watermark into your document. If you are using a PostScript 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 Printer The 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. Supplemental Macros for Word 6.0 for Windows Page page4 Microsoft Product Support Services Microsoft Product Support Services *h888h888h888 : 4 rD IT &--System--6 - $ dD^" $Dxxl $NPPb$x}yvtszrpqfq\rRsHt>v4x*y } ",6@JT^hr|  *4>HR\fpz|zrmh^TJ@6,"-n$5}{yupkf\RHC>94/*(! " , 6 @ JT^hm r*v4w>tDpHmOhReX^\W^TdJfFj@m6q,u"wy{}Jd-D$ `@Bxx{xvttvvtrl"i,e6$x  }yvtsrqxqnrdsZtPvFx<y2}(&  ",6@JT^hr| (2<FPZdnx|zrmh^TJ@6,"  -n$5}xndZUPKFA<:3.-($"",6@J T"^&h,m2r<vFwPtVpZmahdej^nWpTvJxF|@6," $T,T-&$\]\[YXSND:2&zxvtrqponnpru|xr{h}^TJ@6.)$! "$*16<"@%J+T1^6h8r;|>BRUY^chrw|||rtmhl^pTT|",6@JT^hr%.9?F|JrNhQ^STS@P6O,I"D@:5&$x|zp}fy\vRtHs>r4q*q rs tvxy}|voljfb]ZWV"T,T6U@VJXTY^[h]rb|hlsv  *4>HR\`fnpz|zrmh^TJ@6,"-n$5A?=94/*  ",6@JT^hmrvwtp mhe^ W"T(J*F.@165,9";=?A-$@$  K F < 6$ -* (. &8 B L V ` j t     T U V Y _ dx 2< 2& Z F  J T ^ h m p p       y t l j j j |k rm hp ^r Tt J j !i .>x?.>?=.>?.>~?vef:{h  r   rC (Ȥ.BSOGBMYPet tJ:`Y  d   dC (Ȥ tf:{h   r   rC (ȤL:6RnboJ:`Y   d   dC (Ȥ Sn'f:{h %  r   rC (ȤAEMA.M g:n    DD   DC (Ȥ,91>wذ!V0ȈypiQt|` `io*͸?6HAB^zbOb/vf(E>E(jj92J """)))000___UUUMMMBBB999 ```(+ 9%I;/]E:IS+l!!YQjGg2a1a{ SgC..Y&FQI.hRj#SJjl3uAJ e7,,NQ d VoCYr63_wqGC}-#nz&s[ pRL$ {n6uDqJVH42pAhB6"3}%Z6\H"MBRX $Vswذ!V0ȈypiQt|` `io*͸?6HAB^zbOb/vf(E>E(jj92J """)))000___UUUMMMBBB999 ```(+ 9%I;/]E:IS+l!!YQjGg2a1a{ SgC..Y&FQI.hRj#SJjl3uAJ e7,,NQ d VoCYr63_wqGC}-#nz&s[ pRL$ {n6uDqJVH42pAhB6"3}%Z6\H"MBRX $Vs?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrsuvwxyz{|}~""""""""f:{h   r   rC (Ȥ6:\    cc   cC (pȤ,91>wذ!V0ȈypiQt|` `io*͸?6HAB^zbOb/vf(E>E(jj92J """)))000___UUUMMMBBB999 ```(+ 9%I;/]E:IS+l!!YQjGg2a1a{ SgC..Y&FQI.hRj#SJjl3uAJ e7,,NQ d VoCYr63_wqGC}-#nz&s[ pRL$ {n6uDqJVH42pAhB6"3}%Z6\H"MBRX $VsZv2 upJ:`Y   d   dC (ȤP      !"#$%&'*+,-./012345678f:{h   r   rC (Ȥ :{h    1 C 11(1Ȥ      > f:{h   r   rC (Ȥ@p6Rnvvf:{h   r   rC (Ȥb: K@= 53**** J b  j<  <-- --$am R 3{_D+zla^s`Ia a d g jo hC e \ K D = 5 , " x l b t t \ F /  ) = P d y >a $+4G\Rx]gox----$mQ = ( t f X I ; - | c J 2   / X o    0J e~ *>Rfx/Nn{z~/CXk!!! q`OC-zndZKYKP Q ----N$%   5 M f  ' 5 C S a o +{ @ T N : % z l ^ O A 3 z# ` H 0   ----4$ ----$ Z Z / / W W Z ----.$   r Z W l ~   # #  ----.$~e I. # 1Ke ~ ----.$.. u cP;&.@Vi{ 11.----.$xtuznM.1On----N$%%&kXC/ /C X k %----.$%(&%$"!----.$----$ @@O`qq`OFF@----.$``jt*@F/uh_UU`----$$T V U QQY`UFYFJ K N T V X T ----$ 4 5 440:W.Y(0&' ( 4 ----$ { q n pp d bc f p { ----$ ----*$#/=M[fowywtof[OC8.#----$ n-9IU\\XNzAk8n-----$ P.b6kAnJnNcNcM`G\AM9P.----$+4..G<BG(9+4----$?5C1XCPK:9?5----$  ~ ~ r r t w ----$ f ^ ^ ` bWV R R [ f ----$ D ? @ D'F3;3:'5 4 : D ----$A!Lv $3@Q]o}7`1NhhL~, g: gBpW;pkfD`_bitgI,%Jr----$A-W,H3ePi~?hy:bWIp, tHpG!w^B#q_QrFJ@"?BIVcnwP4+R|----%E-W,H3ePi~??hy:bWIp, tHHpG!w^B#q_QrFJFJ@"?BIVcnwP4+R|----$A/W~": U'qBZo?e{i-TI=`!wrHzU~1iQ6xjr`L[&Z\cn|{]B+:`----%E/W~": U'qBZo??e{i-TI=`!wrHHzU~1iQ6xjr`L`L[&Z\cn|{]B+:`----8$ "%)05 ;!>7>N>d<v;88Gk9qG----<% "%)055 ;!>7>N>d<v;88Gk9qG----<%,,-0125:?DDJM%M=LSJeIrFvF5{(6,----%----%d----%S----%S'+----%1e@----%2----%,----%v----%K----%K=----%)w8----%D--f:{h   r   rC (ȤmeitapBMJ:`Y   d   dC (Ȥ">Zv INPDI.D0&h K2~ࡱ;SummaryInformation(@$\p )@1Microsoft Word 6.025   "./HIR~*f !ah%W\UVrs /0./uDuD`uDuDTduD\uDUuD8NuDFZuD?UUVVVcc c uDccUccce uDx1UcUc0A/01}~= B {!|!""$$N$O$'''****++,----i-j-..//00000000000$1%1'1(1)1?ǿuccuDuDh8c uD1uD]auD0uD uD`VUuDuDPuDU]uDuDPuDuD 7!"+/HIR 6 @ ]@ ]@ @ 8@ @ @ j@ e( `'Po&Po Po P<o(*   `' Pxo(* Po(*(  `''PoPofghuX 9 h o "/3c~ 'WUrr`'r`'H%HHuHH%HHHHHHHHHHHHHHHH0H%HHHHHHHH H#AxHH& ' ( ) HH& ' ( ) #r(!.J.09}{!!""$HHHHHHHHHHH> HHH HHHH HHHHxA l 8 Hx'$$+$N$O$ &b'''*+++,----../00000001#1$1   HHH5HHHH HHHHHH`' &&&*l& &*&`'A l "xl 8($1%1&1'1(1)1Hx&*CK @ Normalx]a (@( Heading 1 Uc$@$ Heading 2( c@ Heading 3U"A@"Default Paragraph Font"@" Normal Indent &'@&Annotation Referencebc @ Annotation Text @" TOC 4 `' @2 TOC 3 ``' @B TOC 2 `' "@R"TOC 1 `'U. @b.Footer& * !c$@r$Header( * &(O( List1-Hang   O List1-Indent (O( List2-Hang@@ O List2-Indent@(O( List3-Hang`` O List3-Indent`O List1-Code(O( Normal Code@U]a O List3-Code O List2-Code!`"O" Normal Note"VO! List1-Note#O! List2-Note$O! List3-Note%*Oqb*banner2&Pxxo(*4Oqr4banner1'Pxo(*102O2Q&A Question-Hang(``.O.Q&A Answer-Hang)`P`(O(Q&A Question-Indent*`(O(Fix Headings Bug+\&O&Q&A Answer-Indent,`O Ten1-Code-(O( Ten1-Hang.P O Ten1-Indent/O! Ten1-Note0@O Ten2-Code1*O"* Ten2-Hang2  O2 Ten2-Indent3OB Ten2-Note4&OR&Q&A Answer-Note5V$Ob$Q&A Answer-Code6.Or.Q&A Answer2-Hang7P(O(Q&A Question-Note8V&O&Q&A Question-Code9&O&Q&A Answer2-Indent:$O$Q&A Answer2-Code;.O.Q&A Answer3-Hang<P&O&Q&A Answer2-Note=V&O&Q&A Answer3-Indent>$O!$Q&A Answer3-Note?P$O$Q&A Answer3-Code@pO Normal-NoteAVO half-lineBc ).h-).)1@1\1 #h r/u&*-).dz<b/? !r$$1)1"#$%&).9279!*).? _Ref306600677~*.*.DLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCLinda L. Johnson,C:\BACKUP\APPNOTES\WINWORD\WD1025\WD1025.DOCSuzanne MorrisonD:\APPNOTES\WD1025\WD1025.DOCSuzanne MorrisonD:\ZIP\WD1025.DOC@HP LaserJet IIISiLPT1:HPPCL5MSHP LaserJet IIISi  DLwERL,,`D0 d`HP LaserJet IIISi  DLwERL,,`D0 d`GG GGWTimes New Roman Symbol &Arial5Courier NewCG Times (W1)" V h!teq )iX )iX!T C:\WINWORD6\TEMPLATE\APPNOTE.DOTLinda L. JohnsonSuzanne Morrisonࡱ; vt