假设D盘有一A文件夹,保存有"test.xls”文件。Dim Book As New XLS.Book("D:\A\test.xls")Dim name as StringFor i as Integer = 0 to Book.Sheets.Count - 1 Book.Save("D:\A\" & Book.Sheets(i).Name & ".xls")Next如需判断文件是否已经存在请用FileSys.FileExists。