Redian新闻
>
求问一个对我来说很难的问题
avatar
求问一个对我来说很难的问题# Database - 数据库
A*0
1
如何实现文档自动生成?
比如说,现在有一个班的50个学生的成绩(现存放在excel里,姓名,学号,分数);
和一个word的成绩通知单的模版。
如何能自动生成50个成绩通知单?
哪位能够给讲解一下?万分万分感谢。
avatar
c*d
2
这个需要写一段程序实现吧
office应该没有这个功能
avatar
v*d
3
這個跟database基本無關
寫vbscript或者定義macro

【在 A****0 的大作中提到】
: 如何实现文档自动生成?
: 比如说,现在有一个班的50个学生的成绩(现存放在excel里,姓名,学号,分数);
: 和一个word的成绩通知单的模版。
: 如何能自动生成50个成绩通知单?
: 哪位能够给讲解一下?万分万分感谢。

avatar
B*g
4
how to 定義macro? in word or in excel?

【在 v******d 的大作中提到】
: 這個跟database基本無關
: 寫vbscript或者定義macro

avatar
w*r
5
It should be fairly easy, just use record macro function in excel, it will
generate most of the vba code for u, and then you can just modify it and
plugin DB operation.

【在 B*****g 的大作中提到】
: how to 定義macro? in word or in excel?
avatar
B*g
6
how to use it to print with word template?

【在 w*r 的大作中提到】
: It should be fairly easy, just use record macro function in excel, it will
: generate most of the vba code for u, and then you can just modify it and
: plugin DB operation.

avatar
w*r
7
print out xml

【在 w*r 的大作中提到】
: It should be fairly easy, just use record macro function in excel, it will
: generate most of the vba code for u, and then you can just modify it and
: plugin DB operation.

avatar
w*r
8
actually VBA has support write content into word document and formatting.

【在 w*r 的大作中提到】
: print out xml
avatar
B*g
9
呵呵,其实还不如先把word打下来,再定好数据输出位置,再打一边。

【在 w*r 的大作中提到】
: actually VBA has support write content into word document and formatting.
avatar
y*o
10
There are free PDF form-filling APIs out there. Or maybe there are Word for
m-filling APIs, but I don't know.
I have worked on a small C# application, part of it was to fill up a PDF for
m. iTextSharp for PDF is easy to use. You don't need a whole lot coding.

【在 B*****g 的大作中提到】
: 呵呵,其实还不如先把word打下来,再定好数据输出位置,再打一边。
avatar
a*t
11
Mail Merge
avatar
i*i
12
I do not know whether you are familiar with any ETL tools. You could import
XLS file as the source and load the data into any kinds of database.
avatar
a*t
13
just use Microsoft Word function: Mail Merge
don't need to make it so complicated if LZ doesn't have the IT resource...
unless I am missing something
avatar
b*e
14
11 L is the most correct answer. Mail Merge.
;-)
avatar
w*s
15
or VSTO/bookmark

【在 a*******t 的大作中提到】
: Mail Merge
avatar
c*n
16
我做过ms office的 TA.
当时我们是用access 数据库存数据. access 本身就有功能生成report, form什么的.
我们也用了word 的mail merge, 把access 数据库连到word 里面, 和上面同学说的差
不多.

【在 A****0 的大作中提到】
: 如何实现文档自动生成?
: 比如说,现在有一个班的50个学生的成绩(现存放在excel里,姓名,学号,分数);
: 和一个word的成绩通知单的模版。
: 如何能自动生成50个成绩通知单?
: 哪位能够给讲解一下?万分万分感谢。

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。