Special Editing Features Not Available in Word 6.0 for the Mac

Last reviewed: February 5, 1998
Article ID: Q129068
The information in this article applies to:
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1

SUMMARY

The following four Word 4.0 and 5.x commands do not exist in Word 6.0:

   New Paragraph After Insertion Point
   New Paragraph with Same Style
   Scroll Line Up
   Scroll Line Down

This article tells how to write macros in Word 6.0 that simulate those commands.

MORE INFORMATION

WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE 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.

NOTE: You can use these macros in Word 6.0 for Windows or Windows NT as well as Word for the Macintosh.

New Paragraph After Insertion Point

To create a macro that simulates the New Paragraph After Insertion Point command, do the following:

  1. From the Tools menu, choose Macro.

  2. In the Macro Name box, type a name for the macro. For example:

          NewParagraphAfterInsertionPoint
    

  3. In the Macros Available In list, select All Available Templates.

  4. Choose the Create button.

  5. Type the following macro code, incorporating the "Sub MAIN" and "End Sub" text that appears in the window:

          REM NewParagraphAfterInsertionPoint
    
          Sub MAIN
            InsertPara
            CharLeft
          End Sub
    
    

  6. From the File menu, choose Close. Choose Yes when asked if you want to save changes.

New Paragraph with Same Style

To create a macro that simulates the New Paragraph With Same Style command, use the above procedure, but use the following macro name in step 2

   NewParagraphWithSameStyle

and substitute the following code in step 5:

   REM NewParagraphWithSameStyle
   Sub MAIN
     a$ = StyleName$()
     InsertPara
     FormatStyle .Name = a$, .Apply
   End Sub


Scroll Line Up

To create a macro that simulates the New Paragraph With Same Style command, use the above procedure, but use the following macro name in step 2

   ScrollLineUp

and substitute the following code in step 5:

   Sub MAIN
     vline -1
   End Sub

Scroll Line Down

To create a macro that simulates the New Paragraph With Same Style command, use the above procedure, but use the following macro name in step 2

   ScrollLineDown

and substitute the following code in step 5:

   Sub MAIN
     vline 1
   End Sub

MORE INFORMATION

Command in Word 4.0/5.0/5.1           Description
---------------------------           -----------

New Paragraph After Insertion Point   Inserts a paragraph mark after the
                                      insertion point (leaving the
                                      insertion point in the same location
                                      but inserting paragraph marks below
                                      it). The shortcut for this command
                                      in Word 4.0, 5.0, or 5.1 is
                                      OPTION+COMMAND+RETURN.

New Paragraph With Same Style         Overrides the Next Style feature.
                                      Normally when Next Style is
                                      specified in a style's definition,
                                      pressing ENTER at the end of a
                                      paragraph applies the style specified
                                      in Next Style to the next paragraph.
                                      The shortcut for this command in Word
                                      4.0, 5.0, or 5.1 is COMMAND+RETURN.
                                      When you use this command, Word
                                      starts a new paragraph but does not
                                      apply Next Style; it applies the same
                                      style as the paragraph above it.

Scroll Line Up                      Scrolls up one line without moving the
                                    insertion point.

Scroll Line Down                    Scrolls down one line without moving
                                    the insertion point.


Additional query words: Commands Well Para
Keywords : macword macword5 word6
Version : MACINTOSH:6.0,6.0.1
Platform : MACINTOSH


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.