Copying to the Spike

Last week we talked about Microsoft Word's Spike feature, which lets you cut as many blocks of text as you want (like sticking them on a spike) and then paste them all at once in your chosen location. You can read last week's newsletter here:

http://www.topica.com/lists/editorium/read/message.html?mid=1701584333

But what if you want to *copy* rather than cut the text to add to the Spike? You can do it with a special Word macro called CopySpike--*if* you have the Macros8 template that comes with Word 8 (97 or 98) and you are using Word 8 or Word 9 (2000). I thought the macro was also in the Macros9 template for Word 2000, but it's not. And the Macros8 template isn't available at the Microsoft Web site. What's an editor to do?

Use one of our custom macros, below, which will run in Word 6, 7 (95), 8 (97 or 98), or 9 (2000) on Macintosh or PC.

FOR MICROSOFT WORD 6 OR 7 (95):

'THE MACRO STARTS HERE
If GetSelStartPos() <> 
GetSelEndPos() Then	'Text is selected
Spike			'Add entry to spike
EditUndo		'Undo the cut
Else
MsgBox "Please select text before running this macro.", 
"No Text Selected"
End If
'THE MACRO ENDS HERE


FOR MICROSOFT WORD 8 (97 OR 98) OR 9 (2000):

'THE MACRO STARTS HERE
If WordBasic.GetSelStartPos() <> _
WordBasic.GetSelEndPos() Then	'Text is selected
WordBasic.Spike			'Add entry to spike
WordBasic.EditUndo		'Undo the cut
Else
WordBasic.MsgBox "Please select text before running this macro.", _
"No Text Selected"
End If
'THE MACRO ENDS HERE

TO CREATE THE MACRO AND ASSIGN IT TO A KEYBOARD SHORTCUT:

1. Copy the appropriate macro from this newsletter.

2. Click the "Tools" menu at the top of your Word window.

3. Click "Macro."

4. In Word 97, 98, or 2000, click "Macros."

5. Make sure "Macros Available In" shows "Normal.dot."

6. Type a name for the macro in the "Macro Name" box--maybe "Copy2Spike" to differentiate it from Microsoft's CopySpike macro.

7. Click "Create."

8. Paste the macro at the current insertion point.

9. In Word 6 or 7, click "File," then "Close," then "Yes." In Word 97, 98, or 2000, click "File," then "Close and Return to Microsoft Word."

10. Click the "Tools" menu.

11. Click "Customize."

12. Click the "Keyboard" tab or button.

13. In the "Categories" window, click "Macros."

14. In the "Macros" window, click "Copy2Spike" (or whatever name you gave the macro).

15. With your cursor in the "Press new shortcut key" box, press the keyboard shortcut you want to use to run the macro--ALT + CTRL + F3, for example.

16. Make sure the "Save Changes In" box shows "Normal.dot."

17. Click the "Assign" button.

18. Click the "Close" button.

TO USE THE MACRO:

1. Select the text you want to copy to the Spike.

2. Press the keyboard shortcut you set to run the macro (such as ALT + CTRL + F3).

3. Repeat steps 1 and 2 for each entry you want to copy to the Spike.

4. Place your cursor at the spot where you want to insert the contents of the Spike.

5. Press CTRL + SHIFT + F3.

The contents of the Spike will be inserted into your text, and the Spike will be empty once more. (Remember that the Spike pastes each of its entries as a separate paragraph, so you probably won't want to unload it in the middle of a sentence somewhere.)

If you do have Word 8 and the Macros8 template, just open the template in Word and follow the on-screen instructions to install and run Microsoft's version of the CopySpike macro. (You should find the template in C:Program FilesMicrosoft OfficeOfficeMacros.)

If you're looking for other custom macros to make your work easier, try our add-in programs at http://www.editorium.com.

This entry was posted in Editing. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

You must be logged in to post a comment.

  • The Fine Print

    Thanks for reading Editorium Update (ISSN 1534-1283), published by:

    The EDITORIUM, LLC
    http://www.editorium.com

    Articles © on date of publication by the Editorium. All rights reserved. Editorium Update and Editorium are trademarks of the Editorium.

    You may forward copies of Editorium Update to others (but not charge for it) and print or store it for your personal use. Any other broadcast, publication, retransmission, copying, or storage, without written permission from the Editorium, is strictly prohibited. If you’re interested in reprinting one of our articles, please send an email message to editor@editorium.com

    Editorium Update is provided for informational purposes only and without a warranty of any kind, either express or implied, including but not limited to implied warranties of merchantability, fitness for a particular purpose, and freedom from infringement. The user (you) assumes the entire risk as to the accuracy and use of this document.

    The Editorium is not affiliated with Microsoft Corporation or any other entity.

    We do not sell, rent, or give our subscriber list to anyone. Period.

    If you’d like to subscribe, please enter your name and email address below. We publish the newsletter once a week, and on rare occasions we may send an important announcement. We never, ever send spam. Thank you for signing up!