跳到主要內容

如何將合併數據和圖片從 Excel 郵寄到 Word?

如果您在 Excel 工作表中有一個包含姓名、年齡、課程、學院和照片路徑的學生信息列表,那麼現在,您想在 Word 中為每個學生製作一張考試准考證,如下圖所示。 要快速輕鬆地製作此類卡片,Word 中的郵件合併功能可以為您提供幫助。

郵件將數據和圖片從 Excel 合併到 Word


郵件將數據和圖片從 Excel 合併到 Word

應用郵件合併功能創建帶有圖像的卡片,請按照以下步驟操作:

Step1:在Excel中準備數據列表

1. 在工作表中輸入您需要的信息,然後輸入圖像文件路徑,如下圖所示:

2. 然後,您需要通過在地址中的每個斜線後添加另一個斜線來修改圖片地址,見截圖:

保養竅門:如果有多個單斜杠需要轉換為雙斜杠,可以應用 查找和替換 Excel 中的功能可立即查找和替換它們。

3. 輸入數據後,保存並關閉 Excel 文件。

第二步:準備Word文檔

4. 您可以根據自己的需要在 Word 文檔中準備和設計卡片格式,如下圖所示:

Step3:建立Excel文件和Word文檔的關係

5. 完成word文件信息格式後,請點擊 郵件 > 選擇收件人 > 使用現有清單,請參見屏幕截圖:

6。 然後,在彈出 選擇數據源 窗口,選擇您創建的 Excel 文件,然後單擊 已提交 按鈕,請參見屏幕截圖:

7。 在下面的 選擇表 對話框中,選擇包含要使用的學生信息的工作表,然後單擊 OK,請參見屏幕截圖:

8. 然後,將光標放在 姓名,然後點擊 郵件 > 插入合併域 > 姓名姓名 字段將被插入到word文檔中,如下圖所示:

9. 然後,您應該重複上述步驟,為 Age、Couse 和 College 插入其他對應的字段,得到以下結果:

10. 插入數據字段後,接下來,您應該插入圖像字段。 現在,請將光標放在您要顯示圖片的位置,然後點擊 插入 > 快速部件 > ,請參見屏幕截圖:

11. 在彈出的字段對話框中,選擇 包括圖片 從左邊 欄位名稱 窗格,然後在 字段屬性 文本框,輸入任何內容,例如 圖片,然後單擊 OK 按鈕保存設置。 看截圖:

12. 現在,圖片被插入到文檔中,但是,您看不到它。

13. 然後,點擊圖片並按下 Alt + F9 切換到域代碼,如下圖所示:

14. 在突出顯示的圖像代碼中選擇單詞 Image,然後單擊單擊 郵件 > 插入合併域 > 上載照片,請參見屏幕截圖:

15. 點擊後 上載照片 字段,代碼將轉換為如下截圖:

16. 現在,按 Alt + F9 再次,但圖像仍然不可見。

17. 繼續點擊 郵件 選項卡,然後單擊 完成並合併 > 編輯單個文檔,請參見屏幕截圖:

18。 在彈出 合併到新文檔 對話框中選擇 全部 來自 合併記錄,然後單擊 OK 按鈕。

19. 將打開一個包含所有數據信息的新文檔,但圖像可能仍然不可見,請參見屏幕截圖:

20. 要使圖像可見,請按 按Ctrl + A 選擇word文件中的所有內容,然後按 F9 鍵,在彈出的 Microsoft Word 安全通知對話框中,單擊 按鈕,請參見屏幕截圖:

21. 單擊是後,您可以看到 word 文件填充了合併後的圖像和存儲在 Excel 工作表中的數據信息,如下圖所示:

然後,您可以根據需要打印並保存文件。


郵件將數據和圖片從 Excel 合併到 Word

最佳辦公生產力工具

🤖 Kutools 人工智慧助手:基於以下內容徹底改變數據分析: 智慧執行   |  生成代碼  |  建立自訂公式  |  分析數據並產生圖表  |  呼叫 Kutools 函數...
熱門特色: 尋找、突出顯示或識別重複項   |  刪除空白行   |  合併列或儲存格而不遺失數據   |   沒有公式的回合 ...
超級查詢: 多條件VLookup    多值VLookup  |   跨多個工作表的 VLookup   |   模糊查詢 ....
高級下拉列表: 快速建立下拉列表   |  依賴下拉列表   |  多選下拉列表 ....
欄目經理: 新增特定數量的列  |  移動列  |  切換隱藏列的可見性狀態  |  比較範圍和列 ...
特色功能: 網格焦點   |  設計圖   |   大方程式酒吧    工作簿和工作表管理器   |  資源庫 (自動文字)   |  日期選擇器   |  合併工作表   |  加密/解密單元格    按清單發送電子郵件   |  超級濾鏡   |   特殊過濾器 (過濾粗體/斜體/刪除線...)...
前 15 個工具集12 文本 工具 (添加文本, 刪除字符,...)   |   50+ 圖表 類型 (甘特圖,...)   |   40+ 實用 公式 (根據生日計算年齡,...)   |   19 插入 工具 (插入二維碼, 從路徑插入圖片,...)   |   12 轉化 工具 (數字到單詞, 貨幣兌換,...)   |   7 合併與拆分 工具 (高級合併行, 分裂細胞,...)   |   ... 和更多

使用 Kutools for Excel 增強您的 Excel 技能,體驗前所未有的效率。 Kutools for Excel 提供了 300 多種進階功能來提高生產力並節省時間。  點擊此處獲取您最需要的功能...

產品描述


Office選項卡為Office帶來了選項卡式界面,使您的工作更加輕鬆

  • 在Word,Excel,PowerPoint中啟用選項卡式編輯和閱讀,發布者,Access,Visio和Project。
  • 在同一窗口的新選項卡中而不是在新窗口中打開並創建多個文檔。
  • 將您的工作效率提高 50%,每天為您減少數百次鼠標點擊!
Comments (3)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I've been working on this for a few weeks on Windows and Mac and finally figured it out on Mac.
For MacOS
1. The image file path should look like this: /Users/(username)/(folder name)/(filename)
2. Remove the parentheses and insert your specific information. I tried the file path with 2 slashes between each location and with 1 slash between and both worked.
3. In Word, give permission for it to access the folder of your images if needed: Word, Preferences, File Locations, Images, Modify, choose your folder of images.
4. Do the other steps and make sure that before you complete the merge, press fn + option + F9 to get out of the fields.
5. After completing the merge, command + A to select all and then fn + F9 to pull the images. You should get the same pop up as in step 20.
This comment was minimized by the moderator on the site
Does the procedure described not work in Word for MacOS, especially step 20? Is there an alternative?
This comment was minimized by the moderator on the site
I've been working on this for a few weeks on Windows and Mac and finally figured it out on Mac.
For MacOS
1. The image file path should look like this: /Users/(username)/(folder name)/(filename)
2. Remove the parentheses and insert your specific information. I tried the file path with 2 slashes between each location and with 1 slash between and both worked.
3. In Word, give permission for it to access the folder of your images if needed: Word, Preferences, File Locations, Images, Modify, choose your folder of images.
4. Do the other steps and make sure that before you complete the merge, press fn + option + F9 to get out of the fields.
5. After completing the merge, command + A to select all and then fn + F9 to pull the images. You should get the same pop up as in step 20.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations