我想用Perl來執行以下任務(一個或多個),以Excel自動:如何最有效地自動執行重複的Excel任務?
For a list of Excel .xls files, do the following:
Open the file
Set Format to CSV
Save the file under the original filename and directory, but replace the extension "xls" with "csv"
Close the file
End
我發現如何打開文件,甚至如何拯救他們。我沒有找到如何將fileformat/save另存爲另一種格式。不應該彈出用戶對話框,它應該完全自動化。我可以生成自己的Excel文件列表,一個參數化的「find」或者「dir」就足夠了。
謝謝。這正是我需要的。 – 0xCAFEBABE 2010-11-08 13:44:36