Copiar planilhas do Excel The code example above shows how to use IronXL to duplicate and copy WorkSheets within and between Excel WorkBooks. Copie e cole planilhas para e de outros livros. Crie planilhas duplicadas dentro do mesmo livro. The CopySheet method is used to duplicate a worksheet within the same workbook or spreadsheet. O nome da nova planilha é necessário como parâmetro. 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. Você pode baixar um projeto de arquivo deste link. How to Copy Excel Worksheets in C# Instale uma biblioteca Excel para copiar planilhas. Carregue um livro Excel e crie uma nova folha. Use the CopyTo method to copy data to the new worksheet. Salve a nova planilha Excel. Explore como copiar células do Excel usando C# com IronXL. Links para documentos relacionados Ver no GitHub Tutorial relacionado Guia prático relacionado Documentação da aula Baixar IronXL DLL Reporte um problema nesta página A PHP Error was encountered Severity: Notice Message: Undefined index: IronXl.Excel Filename: helpers/counter_helper.php Line Number: 85 Backtrace: File: /var/www/ironpdf.com/application/helpers/counter_helper.php Line: 85 Function: _error_handler File: /var/www/ironpdf.com/application/views/main/sections/ready_to_started_202509.php Line: 12 Function: getTotalDonwloadNumber File: /var/www/ironpdf.com/application/libraries/Render.php Line: 489 Function: view File: /var/www/ironpdf.com/application/controllers/Products/Examples.php Line: 44 Function: render_products_view File: /var/www/ironpdf.com/index.php Line: 292 Function: require_once A PHP Error was encountered Severity: Notice Message: Undefined index: IronXl.Excel Filename: helpers/counter_helper.php Line Number: 85 Backtrace: File: /var/www/ironpdf.com/application/helpers/counter_helper.php Line: 85 Function: _error_handler File: /var/www/ironpdf.com/application/views/main/sections/ready_to_started_202509.php Line: 19 Function: getTotalDonwloadNumber File: /var/www/ironpdf.com/application/libraries/Render.php Line: 489 Function: view File: /var/www/ironpdf.com/application/controllers/Products/Examples.php Line: 44 Function: render_products_view File: /var/www/ironpdf.com/index.php Line: 292 Function: require_once Pronto para começar? Nuget Downloads 1,890,100 | Versão: 2026.3 acaba de ser lançado Comece seu teste gratuito Download gratuito do NuGet Total de downloads: 1,890,100 Ver licenças A PHP Error was encountered Severity: Notice Message: Undefined index: IronXl.Excel Filename: helpers/counter_helper.php Line Number: 85 Backtrace: File: /var/www/ironpdf.com/application/helpers/counter_helper.php Line: 85 Function: _error_handler File: /var/www/ironpdf.com/application/views/main/sections/still_scrolling_202512.php Line: 17 Function: getTotalDonwloadNumber File: /var/www/ironpdf.com/application/views/products/examples/index.php Line: 270 Function: view File: /var/www/ironpdf.com/application/libraries/Render.php Line: 88 Function: view File: /var/www/ironpdf.com/application/libraries/Render.php Line: 552 Function: view File: /var/www/ironpdf.com/application/controllers/Products/Examples.php Line: 44 Function: render_products_view File: /var/www/ironpdf.com/index.php Line: 292 Function: require_once A PHP Error was encountered Severity: Notice Message: Undefined index: IronXl.Excel Filename: helpers/counter_helper.php Line Number: 85 Backtrace: File: /var/www/ironpdf.com/application/helpers/counter_helper.php Line: 85 Function: _error_handler File: /var/www/ironpdf.com/application/views/main/sections/still_scrolling_202512.php Line: 24 Function: getTotalDonwloadNumber File: /var/www/ironpdf.com/application/views/products/examples/index.php Line: 270 Function: view File: /var/www/ironpdf.com/application/libraries/Render.php Line: 88 Function: view File: /var/www/ironpdf.com/application/libraries/Render.php Line: 552 Function: view File: /var/www/ironpdf.com/application/controllers/Products/Examples.php Line: 44 Function: render_products_view File: /var/www/ironpdf.com/index.php Line: 292 Function: require_once Ainda está rolando a tela? Quer provas rápidas? PM > Install-Package IronXl.Excel executar um exemplo Veja seus dados se transformarem em uma planilha. Download gratuito do NuGet Total de downloads: 1,890,100 Ver licenças
Produto totalmente funcional Receba 30 dias de produto totalmente funcional. Deixe-o pronto para usar em minutos.
Suporte técnico 24 horas por dia, 5 dias por semana. Acesso total à nossa equipe de suporte técnico durante o período de teste do produto.
Todas as suas dúvidas serão respondidas para garantir que você tenha todas as informações necessárias. (Sem qualquer compromisso.)