---
title: "How to create a new worksheet in Excel file c#?"  
description: "How to create a new worksheet in Excel file c#?"  
author: "Jayden Bell"  
published: 2013-11-14  
updated: 2016-11-02  
canonical: https://www.mindstick.com/forum/1726/how-to-create-a-new-worksheet-in-excel-file-c-sharp  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# How to create a new worksheet in Excel file c#?

I am developing a [demo](https://www.mindstick.com/forum/157370/how-to-swap-neighbor-characters-in-string-e-g-string-demo-would-be-edom) [application](https://www.mindstick.com/articles/12824/calculator-application-in-android) and i need to create a new worksheet in [Excel](https://www.mindstick.com/articles/12937/how-to-import-excel-data-in-sql-server-2014) using C#.Please help.

## Replies

### Reply by Pravesh Singh

Hi Jayden,\

var xlSheets = xlWorkBook.Sheets as Excel.Sheets;

var xlNewSheet = (Excel.Worksheet)xlSheets.Add(xlSheets[1], Type.Missing, Type.Missing, Type.Missing);

xlNewSheet.Name = "newsheet";


---

Original Source: https://www.mindstick.com/forum/1726/how-to-create-a-new-worksheet-in-excel-file-c-sharp

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
