我该如何合并在Perl或批处理两个Excel(.xls)的文件? [英] How can I merge two Excel (xls) files in Perl or batch?
本文介绍了我该如何合并在Perl或批处理两个Excel(.xls)的文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有两个文件可以说 a.xls
和 b.xls
。第一个包含2片,并将它们中的第二个3。有人可以让我知道,如果我可以将它们使用Perl或批处理脚本合并?
I have two files lets say a.xls
and b.xls
. The first one contains 2 sheets and the second one 3 of them. Can someone let me know if I can merge them using Perl or batch scripting?
我想在一个单一的 XLS与5张的输出
文件。
I want an output with 5 sheets in one single XLS
file.
推荐答案
有关一个Perl的解决方案使用的取值preadsheet :: ParseExcel的来读取文件和的取值preadsheet :: WriteExcel 来保存你的输出。两种模块有据可查,并配有很多例子code(如的 WriteExcel )
For a Perl solution use Spreadsheet::ParseExcel to read the files and Spreadsheet::WriteExcel to save your output. Both modules are well documented and come with lots of example code(e.g. WriteExcel)
这篇关于我该如何合并在Perl或批处理两个Excel(.xls)的文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文