简体   繁体   English

从另一个文件复制 Excel 工作表

[英]Copy Excel worksheet from another file

I have an empty Excel worksheet with some cells being merged, custom width x height, etc. I am using EPPlus with C# to interact with Excel files.我有一个空的 Excel 工作表,其中包含一些正在合并的单元格、自定义宽度 x 高度等。我正在使用 EPPlus 和 C# 与 Excel 文件进行交互。 How do I achieve this: Copy the excel worksheet from that file as it is to another file, maintaining cells formatting and everything as it is?我如何实现这一点:将 Excel 工作表从该文件原样复制到另一个文件,保持单元格格式和所有内容原样?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM