Editing
Specify the accesskey in MS Word
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<< [[Boot up Tasks]] {{Software version| software=Microsoft Word | url=http://office.microsoft.com/ | version=2002, 2003 }} 說明自訂 Word 中的快速鍵。 由於MS Word的文字複製({{Kbd plus | key1 = Ctrl | key2 = c}})及貼上({{Kbd plus | key1 = Ctrl | key2 = v}}),會包含文字及其字型、字體大小、行距之類的格式。Word雖有提供貼上「未格式化文字」,但是須點選(1)工具列-->(2)編輯-->(3)選擇性貼上-->(4)未格式化文字-->(5)確定,共五個繁瑣步驟。以下說明如何簡化這個流程: 在開始之前,建議請先備份Normal.dot(位於C:\Documents and Settings\使用帳號\Application Data\Microsoft\Templates\) == EX1: 開啟「選擇性貼上」的選單 == # 工具列 -> 工具: 「自訂」 # 「指令」標籤 -> 鍵盤 #* 類別: 選「編輯」 #* 命令: 選「EditPasteSpecial」 (注意: 不是EditPasteOption) #* 設定快速鍵: {{Kbd plus | key1 = Ctrl | key2 = =}}(請自行調整),然後按「指定」按鈕 # 將自訂儲存於Normal.dot (如果選擇某個檔案,快速鍵設定僅能適用在該檔案) == EX2: 直接貼上「未格式化文字」 == * MS Office工具列 -> 工具: 「巨集」(marco) * 建立PasteUnformattedText的巨集,輸入以下程式碼或直接匯入[http://planetoid.info/tools/NewMacros.bas 巨集] <pre> Sub PasteUnformattedText() Selection.PasteSpecial DataType:=wdPasteText End Sub </pre> * MS Visual Basic工具列 -> 檔案: 「關閉並回到Microsoft Word」 * MS Office工具列 -> 工具: 「自訂」 * 「指令」標籤 -> 鍵盤 ** 類別: 選「巨集」 ** 命令: 選「PasteUnformattedText」 ** 設定快速鍵: {{Kbd plus | key1 = Ctrl | key2 = =}} (請自行調整),然後按「指定」按鈕 * 將自訂儲存於Normal.dot ---- {{notesclassic| notes= * [問題] 雖然有選擇自訂儲存於Normal.dot,但是重新開啟新文件,並沒有套用該快速鍵的設定。 * [解決方式] 使用MS Word開啟Normal.dot(位於C:\Documents and Settings\使用帳號\Application Data\Microsoft\Templates\) 編輯後再儲存至Normal.dot。請勿直接點選Normal.dot,那將會產生新文件(.doc)。 }} {{notesclassic| notes= * [問題] 點選快速鍵,跳出Microsoft Visual Basic訊息視窗,顯示「編譯錯誤」,之後快速鍵就無法運作。 * [解決方式] 由於巨集的編譯錯誤,會使得快速鍵的設定自動被移除掉。請檢查程式碼,然後重新設定快速鍵。 }} 參考 * [http://office.microsoft.com/zh-tw/assistance/HP051867041028.aspx Microsoft Office 輔助中心: 指定或移除快速鍵] * [http://www.pcoffice.com.tw/ PC Office] (2007.03). 如何在Word貼上不帶原本格式的文字 * MSDN: [http://msdn2.microsoft.com/en-us/library/microsoft.office.interop.word.selection.pastespecial(VS.80).aspx Selection.PasteSpecial Method (Microsoft.Office.Interop.Word)] [[Category:Software]] [[Category:Microsoft Word]]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Kbd plus
(
edit
)
Template:Notesclassic
(
edit
)
Template:Software version
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information