如何从word文档中复制特定的单元格内容并创建新的word文档。 [英] How to copy specific cell content from word document and create new word document.

查看:124
本文介绍了如何从word文档中复制特定的单元格内容并创建新的word文档。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Everyone, i am working on a project for which i have word document having content in tabular format. for that i need to copy specific cell content from that word file and create new word file with that selected cells. Will it Possible (Or suggest any other method to achieve this).


If Possible, please help me on that.
Thank You in Advance.





我的尝试:



我使用DocX库来替换特定文本



What I have tried:

I have used DocX library to Replace Specific text

Console.WriteLine("Non-Parallel took " + NonParallel_ReplaceText(di, "Chetan112", "Chetan Ji Bajaj") + " miliseconds.");

推荐答案

只需阅读MSDN文档:

为数据自动构建Word表插入和提取
Just read the MSDN documentation:
Automating Word Tables for Data Insertion and Extraction


这篇关于如何从word文档中复制特定的单元格内容并创建新的word文档。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆