Special Editing Features Not Available in Word 6.0 for the MacLast reviewed: February 5, 1998Article ID: Q129068 |
The information in this article applies to:
SUMMARYThe 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 DownThis article tells how to write macros in Word 6.0 that simulate those commands.
MORE INFORMATIONWARNING: 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 PointTo create a macro that simulates the New Paragraph After Insertion Point command, do the following:
New Paragraph with Same StyleTo 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
NewParagraphWithSameStyleand substitute the following code in step 5:
REM NewParagraphWithSameStyle
Sub MAIN
a$ = StyleName$()
InsertPara
FormatStyle .Name = a$, .Apply
End Sub
Scroll Line UpTo 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
ScrollLineUpand substitute the following code in step 5:
Sub MAIN
vline -1
End Sub
Scroll Line DownTo 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
ScrollLineDownand 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |