打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
office2003和2007建立快捷键
Copying text from one Word document to another can be problematic, especially if you’re using templates and styles. Things can go wrong. Text can take on the styles of the destination document/template or keep its  own styles. And sometimes you don’t want to keep any of the styles in the original text — you just want to paste in the text without any formatting.
Word has several ways you can achieve this, some more convoluted than others, but as far as I know, there’s no standard keyboard command to paste text in as unformatted text.
Some of the standard methods within Word 2003 and 2007 are:
Paste the text and click the little icon at the bottom right of the pasted text, then select Keep Text only.  You have to do this immediately after pasting — as soon as you move away and do something else with the document, the icon option is gone.
Select Edit > Paste > Paste Special > Unformatted Text from the menu (Word 2003) OR Home tab > Paste > Paste Special > Unformatted Text (Word 2007).
But what if you have LOTS of text to paste in as unformatted text? Well, you can set up a macro in your template (e.g. Normal.dot) and apply a keyboard command for it. Then, when you need to paste in a lot of text as unformatted text, you just press the keyboard combination and it’s done.
This macro is called NoFormatPaste:
Sub NoFormatPaste()
Selection.PasteSpecial DataType:=wdPasteText
End Sub
Add the macro to the Word template
To add the NoPasteFormat macro to your Word template:
Go to Tools > Macro > Macros (Word 2003) OR Developer tab > Macros (Word 2007).
In the Macro name field, type NoFormatPaste.
Select Normal.dot (or whatever template you want to add this macro to) from the Macros in drop-down list.
Click Create.
Paste the Selection.PasteSpecial DataType:=wdPasteText line from the macro above AFTER the last ‘ and BEFORE the End Sub line.
Close the Microsoft Visual Basic window.
Macro for pasting unformatted text
Assign a keyboard shortcut to the macro
Once you’ve added the macro to your template, you can assign a keyboard shortcut to it. Here’s how:
Go to Tools > Customize (Word 2003) OR Office button
> Word Options > Customize (Word 2007).
Click Keyboard (Word 2003) OR Customize (Word 2007).
On the Customize Keyboard dialog box, select Macros from the Categories list.
Select NoFormatPaste from the list of macros on the right.
Click in the Press new shortcut key field.
Press the keys you want to assign to this function (in the example, I’ve used Alt+Z).
Select the document or template where you want this function to apply (in the example, it’s the Normal.dot template).
Click Assign.
Click Close to close the Customize Keyboard dialog box.
Close the Customize dialog box (Word 2003) OR the Word Options dialog (Word 2007).
Assign a keyboard shortcut for the macro
Test your keyboard shortcut
Open a new document based on the template you selected in step 7 above.
Open an existing Word document with text you want to copy and paste into the new document.
Copy the text from the existing document.
Go to the new document and press Alt+Z (or the keystroke combination you assigned in step 6 above). The copied text should paste in as unformatted text.
(Thanks to David G for helping me with this)
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
【Word中的常用快捷键】Office中Word常用的快捷键,记下来会让你应用速率快很多哦!
电子表格后缀名是什么?
WOrd培训教材(4)
【Word中的常用快捷键】Office中Word常用的快捷键,记下来会让你的工作速率快很多哦!
史上最全Office快捷键|Word/Excel/PPT通通都搞定!
office办公常用快捷键
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服