Microsoft KB Archive/129068

{|
 * width="100%"|

Special Editing Features Not Available in Word 6.0 for the Mac

 * }

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:

 From the Tools menu, choose Macro.  In the Macro Name box, type a name for the macro. For example: "NewParagraphAfterInsertionPoint" In the Macros Available In list, select All Available Templates. Choose the Create button.  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  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:

<pre class="CODESAMP">  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:

<pre class="CODESAMP">  Sub MAIN vline 1 End Sub <pre class="FIXEDTEXT">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 word6

Issue type :

Technology :