Template document of Word
Personal data details
Customer name: <$ namefull $> |
Mobile: <$ mobile $> |
Contact Name: <$ contactman $> |
Detailed address: <$ address $> |
Email: <$ email $> |
|
Province: <$ province $> |
|
C # code string strtext = "<$ namefull $> ";
String replacestr = namefull;
Test. replacetext (strtext, replacestr );
String strtext1 = "<$ contactman $> ";
String replacestr1 = contactman;
Test. replacetext (strtext1, replacestr1 );
String strtext2 = "<$ email $> ";
String replacestr2 = Email;
Test. replacetext (strtext2, replacestr2 );
String strtext3 = "<$ address $> ";
String replacestr3 = address;
Test. replacetext (strtext3, replacestr3 );
String strtext4 = "<$ mobile $> ";
String replacestr4 = Mobile;
Test. replacetext (strtext4, replacestr4 );
String strtext5 = "<$ province $> ";
String replacestr5 = province;
Test. replacetext (strtext5, replacestr5 );
Word documents generated later
Personal data details
Customer name: Nansha lianfa Food Co., Ltd. |
Mobile Phone: 13024128888 |
Contact Name: Li zhonhuang |
Address: Jingang road synthetic industrial zone |
Email: zhen3d@aee.com |
|
Province: Guangdong |
|
Download complete instance
/Files/mextb1860/excelapp.rar
/Files/mextb1860/wordapplication_demo.zip
If the code is running properly, you must install the office. If you have any questions, contact us.