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?
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.
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.
w*r
8 楼
actually VBA has support write content into word document and formatting.
【在 w*r 的大作中提到】 : print out xml
B*g
9 楼
呵呵,其实还不如先把word打下来,再定好数据输出位置,再打一边。
【在 w*r 的大作中提到】 : actually VBA has support write content into word document and formatting.
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.