複製Excel工作表 The code example above shows how to use IronXL to duplicate and copy WorkSheets within and between Excel WorkBooks. 在其他工作簿中複製和貼上工作表。 在同一工作簿中建立重複工作表。 The CopySheet method is used to duplicate a worksheet within the same workbook or spreadsheet. 新工作表的名稱是必要的參數。 Use the CopyTo method to duplicate a sheet to or from another workbook. A WorkBook is required as the first parameter and is followed by the name of the new worksheet. 你可以透過這個連結下載專案檔。 How to Copy Excel Worksheets in C 1.安裝一個 Excel 庫來複製工作表。 開啟 Excel 工作簿並建立一個新工作表。 Use the CopyTo method to copy data to the new worksheet. 儲存新的 Excel 工作表。 探索如何使用IronXL透過 C# 複製 Excel 儲存格。 相關文檔連結 在 Github 上查看 相關教程 相關操作指南 類文檔 下載 IronXL DLL 回報此頁面的問題 準備好開始了嗎? Nuget 下載 1,948,677 | 版本: 2026.4 剛剛發布 開始免費試用 免費 NuGet 下載 總下載量:1,948,677 查看許可證 還在捲動嗎? 想要快速證明? PM > Install-Package IronXl.Excel 執行範例 觀看您的資料變成試算表。 免費 NuGet 下載 總下載量:1,948,677 查看許可證