微軟文本檢索_如何在Microsoft Word中引用其他文檔中的文本

微軟文本檢索

微軟文本檢索

00_lead_image_common_information

You probably have some text that you type often in your Word documents, such as addresses. Instead of retyping this text every time you need it, you can put this common text into one Word document and reference it in other documents–it’ll even automatically update in all your documents if you change it.

您可能有一些經常在Word文檔中鍵入的文本,例如地址。 您可以將此通用文本放入一個Word文檔中,并在其他文檔中進行引用,而不必每次都重新鍵入該文本,如果更改,它甚至會在所有文檔中自動更新。

Say you want to put your address in the footer of your documents, but the address changes from time to time. You can store the address in a separate, common Word document and use a field in your report to pull the text from the common document, and update whenever it changes. We’ll show you how to do this.

假設您想將地址放在文檔的頁腳中,但是地址會不時更改。 您可以將地址存儲在單獨的通用Word文檔中,并在報告中使用字段從通用文檔中提取文本,并在更改時進行更新。 我們將向您展示如何執行此操作。

To begin, create a new Word document that will serve as your repository for the address you want to insert into other Word documents. Save it in a location that will be accessible by other documents. For example, don’t save it on a network drive to which you don’t always have access.

首先,創建一個新的Word文檔,它將用作您要插入其他Word文檔中的地址的存儲庫。 將其保存在其他文檔可以訪問的位置。 例如,不要將其保存在并非總是具有訪問權限的網絡驅動器上。

We’re going to use bookmarks to refer to the address in our common document. Type?the string of text?you want to insert into other documents (in our case, the address). Create a bookmark by highlighting the name and going to Insert > Bookmark and giving it a name, like “Address”. See our guide to bookmarks in Word?for information on creating them.

我們將使用書簽來引用我們的普通文檔中的地址。 鍵入要插入其他文檔的文本字符串(在我們的示例中為地址)。 通過突出顯示名稱并轉到插入>書簽并為其命名,例如“地址”,來創建書簽。 有關創建書簽的信息,請參見Word中的書簽指南。

Note that bookmark names cannot have any spaces. We recommend putting the name of the bookmark above each item in your common information file so you easily know which name?to use for which item. This is especially useful if you plan to have a lot of reusable items in this common document. In our example, we added our address to the common information document and put the bookmark name, “Address”, above the item.

請注意,書簽名稱不能有任何空格。 我們建議將書簽的名稱放在公共信息文件中每個項目的上方,以便您輕松知道要為哪個項目使用哪個名稱。 如果您打算在此公共文檔中有很多可重復使用的項目,則此功能特別有用。 在我們的示例中,我們將地址添加到公共信息文檔中,并將書簽名稱“地址”放在項目上方。

01_creating_bookmark_in_common_file

Once you’ve added the item to your common document, you can save and close. Open the document in which you want to insert the address and position the cursor where you want that text to go. For our example, we’re going to add a footer and insert the address there.

將項目添加到普通文檔后,即可保存并關閉。 打開您要在其中插入地址的文檔,然后將光標置于您要輸入文本的位置。 對于我們的示例,我們將添加一個頁腳并在其中插入地址。

02_placing_cursor_in_footer

We’re going to use the INCLUDETEXT field code to refer to the bookmark we created in the common document. To do this, press “Ctrl + F9” to insert the brackets for the field code.

我們將使用INCLUDETEXT域代碼來引用我們在通用文檔中創建的書簽。 為此,請按“ Ctrl + F9”以插入域代碼的括號。

NOTE: You cannot just type normal brackets around field codes. You must use “Ctrl + F9” to insert the correct type of brackets.

注意:您不能只在域代碼周圍輸入普通括號。 您必須使用“ Ctrl + F9”插入正確的括號類型。

03_pressing_ctrl_f9_for_brackets

The cursor is automatically placed in between the brackets. Type the following text between the brackets, replacing the “<path to file>” with the absolute full path to your common Word containing the name you want to insert. Replace “<bookmark name>” with the bookmark name you assigned to the item in the common document.

光標會自動放在括號之間。 在方括號之間鍵入以下文本,將“ <文件路徑>”替換為包含要插入名稱的通用Word的絕對完整路徑。 將“ <書簽名稱>”替換為您為普通文檔中的項目分配的書簽名稱。

INCLUDETEXT "<path to file>" <bookmark name>

NOTE: Do not enter the brackets in the field code.

注意:請勿在域代碼中輸入括號。

For example, we typed the following in between the field code brackets:

例如,我們在域代碼括號之間鍵入以下內容:

INCLUDETEXT "C:\\Users\\Lori\\Documents\\Common Information\\CommonInformation.docx" Address

NOTE: You must use double backslashes in the path, like we did. Also, make sure you use straight quotes, not smart quotes, when typing the above code into the field.

注意:必須像我們一樣在路徑中使用雙反斜杠。 另外,在字段中鍵入上述代碼時,請確保使用直引號而不是智能引號。

04_entering_includetext_field_code

To grab the address from the common document and insert it into the field code you just entered, right-click on the field code and select “Update Field” from the popup menu.

要從通用文檔中獲取地址并將其插入剛輸入的域代碼中,請右鍵單擊該域代碼,然后從彈出菜單中選擇“更新域”。

05_selecting_update_field

The address displays in the document. Brackets still display around the address if you have the “Show bookmarks” option on. Again, see our article about bookmarks to learn how to turn off this option. Also, the field code might be shaded. However, you can also turn this off.

地址顯示在文檔中。 如果您啟用了“顯示書簽”選項,則括號仍會顯示在地址周圍。 同樣,請參閱我們有關書簽的文章,以了解如何關閉此選項。 此外,該域代碼可能會被加陰影。 但是,您也可以關閉此功能。

06_text_inserted

If you want to change the field code, you can display the code again rather than the result. To do this, right-click on the resulting item and select “Toggle Field Codes” from the popup menu. The text you typed into the field code displays again and you can edit it. Simply, update the field to display the new result.

如果要更改域代碼,可以再次顯示該代碼而不是結果。 為此,右鍵單擊生成的項目,然后從彈出菜單中選擇“切換域代碼”。 您在域代碼中鍵入的文本將再次顯示,您可以對其進行編輯。 只需更新字段以顯示新結果。

07_selecting_toggle_field_codes

Once you’ve created your common document, you can use it to store other items you often type into your Word documents. Simply use a separate INCLUDETEXT field in your Word documents for each piece of information you want to automatically insert from your common document.

一旦創建了通用文檔,就可以使用它存儲您經常在Word文檔中鍵入的其他項目。 只需在Word文檔中使用單獨的INCLUDETEXT字段,即可獲取要從普通文檔中自動插入的每條信息。

翻譯自: https://www.howtogeek.com/240026/how-to-reference-text-from-other-documents-in-microsoft-word/

微軟文本檢索

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/279935.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/279935.shtml
英文地址,請注明出處:http://en.pswp.cn/news/279935.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

Hadoop-Flume-類比吸塵器圖解

2019獨角獸企業重金招聘Python工程師標準>>> 這是我自己理解Hadoop-Flume的方式 轉載于:https://my.oschina.net/u/3697442/blog/1560613

BZOJ4327:[JSOI2012]玄武密碼(SAM)

Description 在美麗的玄武湖畔&#xff0c;雞鳴寺邊&#xff0c;雞籠山前&#xff0c;有一塊富饒而秀美的土地&#xff0c;人們喚作進香河。相傳一日&#xff0c;一縷紫氣從天而至&#xff0c;只一瞬間便消失在了進香河中。老人們說&#xff0c;這是玄武神靈將天書藏匿在此。 很…

ChatGPT 之后,再玩玩 Stable-Diffusion

前些天體驗的 ChatGPT 主要用來進行文本方面的處理&#xff0c;那么圖片生成有沒有這樣的 AI 工具 呢&#xff1f;答案是肯定的。例如&#xff1a;和菜頭公眾號的題圖和文章中的插圖大多都是使用 Stable-Diffusion 的 AI 圖形生成工具創作的。順著 Stable-Diffusion 搜索了下相…

滲透測試入門DVWA 教程1:環境搭建

首先歡迎新萌入坑。哈哈。你可能抱著好奇心或者疑問。DVWA 是個啥&#xff1f; DVWA是一款滲透測試的演練系統&#xff0c;在圈子里是很出名的。如果你需要入門&#xff0c;并且找不到合適的靶機&#xff0c;那我就推薦你用DVWA。 我們通常將演練系統稱為靶機&#xff0c;下面請…

指派問題(匈牙利算法)

問題描述&#xff1a; 在生活中經常遇到這樣的問題&#xff0c;某單位需完成n項任務&#xff0c;恰好有n個人可承擔這些任務。由于每人的專長不同&#xff0c;各人完成任務不同(或所費時間)&#xff0c;效率也不同。于是產生應指派哪個人去完成哪項任務&#xff0c;使完成n項任…

移動硬盤改臺式機硬盤_如何在臺式機或移動設備上離線使用Google云端硬盤

移動硬盤改臺式機硬盤If there’s any drawback to using cloud-based services for all your productivity and organization needs, it’s that if you can’t get an Internet connection, you’re basically out of luck. 如果使用基于云的服務來滿足您的所有生產力和組織需…

你可能不知道的容器鏡像安全實踐

大家好&#xff0c;我是Edison。最近在公司搭建CI流水線&#xff0c;涉及到容器鏡像安全的話題&#xff0c;形成了一個筆記&#xff0c;分享與你&#xff0c;也希望我們都能夠提高對安全的重視。時代背景近年來應用程序逐步廣泛運行在容器內&#xff0c;容器的采用率也是逐年上…

從零基礎到拿到網易Java實習offer,談談我的學習經驗

微信公眾號【程序員江湖】作者黃小斜&#xff0c;斜杠青年&#xff0c;某985碩士&#xff0c;阿里研發工程師&#xff0c;于2018 年秋招拿到 BAT 頭條、網易、滴滴等 8 個大廠 offer個人擅長領域 &#xff1a;自學編程、技術校園招聘、軟件工程考研&#xff08;關注公眾號后回復…

【Win 10 應用開發】UI Composition 札記(二):基本構件

在上一篇中&#xff0c;老周用一個示例&#xff0c;演示了框架視圖的創建過程&#xff0c;在本篇中&#xff0c;老周將給大伙伴們說一下 Composition 構建 UI 的一些“零件”。 UI Composition 有一個核心類——對&#xff0c;就是 Compositor 類&#xff0c;它是總生產車間&am…

禁用內置鍵盤_如何禁用Windows 10的所有內置廣告

禁用內置鍵盤Windows 10 has a lot of built-in advertising. This isn’t just about the free upgrade offer: Even if you purchase a new PC that comes with a Windows 10 license or spend $200 for a copy of Windows 10 Professional, you’ll see ads in your operati…

zbb20180710 maven Failed to read artifact descriptor--maven

Failed to read artifact descriptor--maven2016年09月10日 13:30:46閱讀數&#xff1a;13036在開發的過程中,作為新手,經常遇到Maven下載依賴的時候,"Failed to read artifact descriptor for xxx:jar"的錯誤對于這種非業務相關的問題,耽誤時間非常不效率,看到網站很…

震驚!頂著 39.5℃高燒 ,我和這哥倆都聊了些啥?

這是頭哥侃碼的第271篇原創上周三&#xff0c;我邀請了兩位嘉賓進入直播間&#xff0c;即便自己頂著 39.5 度的高燒&#xff0c;還是強打精神與這哥倆聊了倆小時。相信關注我的朋友們都知道&#xff0c;我是頭哥侃碼的主理人&#xff0c;同時也是上海TGO上海分會董事會成員。趙…

CAS原理分析及ABA問題詳解

什么是CAS CAS即Compare And Swap的縮寫&#xff0c;翻譯成中文就是比較并交換&#xff0c;其作用是讓CPU比較內存中某個值是否和預期的值相同&#xff0c;如果相同則將這個值更新為新值&#xff0c;不相同則不做更新&#xff0c;也就是CAS是原子性的操作(讀和寫兩者同時具有原…

在Windows Mobile模擬器(Emulator)建立網絡連接

因為想使用Windows Mobile Emulator進行網絡通信程序的測試&#xff0c;所以找方法配置Emulator的網絡連接。在網上找了一些文章&#xff0c;很多都說需要安裝Virtual PC 2007. 例如下面的文章Enable Network Connection Windows Mobile 6 Emulator 如果需要 Virtual PC 2007 可…

api游戲編程鼠標選擇拖動_如何選擇合適的游戲鼠標

api游戲編程鼠標選擇拖動You don’t need a gaming mouse to play PC games—just about any mouse with two buttons and a wheel will play anything you want it to. But that’s no reason to deny yourself the wonderful variety of gaming mouse designs on the market.…

iOS - 上架的APP 生成二維碼下載

1.首先打開蘋果App Store商店進入到里面&#xff0c;找到需要打開鏈接地址的應用程序&#xff0c;例如&#xff1a;百度。2. 在App Store商店里面先點擊一下應用程序圖標&#xff0c;再按一下…分享按鈕。 3. 接著選擇分享APP&#xff0c;再點擊拷貝鏈接地址&#xff0c;將應用…

Rsa2加密報錯java.security.spec.InvalidKeySpecException的解決辦法

最近在和支付寶支付做個對接&#xff0c;Java項目中用到了RSA2進行加解密&#xff0c;在加密過程中遇到了錯誤&#xff1a; java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: IOException : algid parse error, not a sequence 代碼執行到這句…

淺析領域驅動設計

1.概要DDD&#xff08;Domain-driven design&#xff0c;模型驅動設計&#xff09;是一種軟件設計的指導思想&#xff0c;而非固定的一套公式化開發模板&#xff08;這樣就會導致網絡上出現各種基于自己或業務上的理解而產出的DDD落地的實現&#xff0c;會讓很想學習的開發者迷…

Delphi實現的透明陰影以及蒙版效果菜單

QQ2010的皮膚控件目前實現了一部分&#xff0c;看到有些軟件的菜單&#xff0c;都有陰影&#xff0c;透明等效果&#xff0c;于是開始重新實現菜單控件&#xff0c;QQ2009版的菜單控件&#xff0c;是自己從TComponent繼承了完全模擬實現的一個菜單&#xff0c;雖然實現了菜單控…

cortana搜索框_如何在Windows 10任務欄上隱藏Cortana搜索框

cortana搜索框One of the most talked about features in the latest version of Windows 10 was the Cortana personal assistant that is integrated directly into the taskbar. But what if you don’t want to waste all that taskbar space? 最新版本的Windows 10中最受…