将数据从 excel 导入到 word

importing data from excel to word

给定一个 Microsoft Word 邀请模型,以及一个 Excel sheet 包含他们信息的人员列表。 目的是一种允许在 Excel 列表中搜索要 selected 的通缉犯的方法。然后自动将他的信息添加到要打印的Word邀请模型中。 这是一个例子:

Word邀请模型:

Mr: ........... born at: ......... code:........
we are honored to have you in the school tomorrow.
                                         thank you.

Excelsheet

Num   first-name  last-name birth-date code 
1     jhon        sweeft    01-01-1994 1011
2     michal      yves      02-06-1989 1201
3     simon       mark      30-11-1973 1202

如果我们 select 号码为 1 的人,Word 邀请模型将如下所示:

Mr: jhon sweeft bored at: 01-01-1994 code:1011
we are horn to have you in the school tomorrow.
                                         thank you.

这只是 Word 中的邮件合并。转到 "Mailings" 然后 "Start Mail Merge" 然后 "Step by step Mail Merge Wizard" 它将带您完成整个过程。

您应该保存 Excel 电子表格,因为合并可以直接读取它。