English

Create Drop-down List in Excel with NPOI in C#

Drop-down lists provide a better way to limit users for data entry from a specified list of options. This removes the chances of making wrong data entries if input by the user manually. Creating drop-down lists in your Excel workbook is a preferred way of compelling users to choose from available dropdown entries only. When someone selects a cell, the options in drop-down lists appear from where they can make a selection.
May 6, 2023 · 3 min · Kashif Iqbal

Copy Worksheet in Excel with NPOI API using C#

Microsoft Excel is a perfect tool for working with data-intensive computations and calculations. People use it in their routine work to carry out complex calculations such as mathematical formula implementation, statistical analysis and many more. Data in an Excel worksheet may often need to be replicated in another worksheet in the same workbook for further operations and modifications. This can be achieved easily by using the COPY operation in Excel. As a .
April 15, 2023 · 2 min · Kashif Iqbal

Insert Header and Footer in Excel using NPOI in .NET

If you are a frequent user of working with Excel workbooks, you must be familiar with adding Headers and Footers to your file. As the name indicates, the Header in an Excel file represents the repetitive information added to the top of a file, whereas the Footer is used to add information to the bottom of each page in the file. Header and footer information is repeated on each page of the file.
April 4, 2023 · 3 min · Kashif Iqbal

Add Formula in Excel using NPOI in .NET

If you have worked with Formulas in Excel, you must know the power of using formulas to perform calculations and analysis. Using formulas is essential for creating effective spreadsheets and making informed decisions. Excel has a wide range of formulas including mathematical operators, functions, and cell references to fully automate data calculations and analysis. In our series of articles on working with NPOI API in .NET, we explained how to install NPOI in .
March 30, 2023 · 3 min · Kashif Iqbal

Add Comment in Excel using NPOI in .NET

In our previous article, Using NPOI for Spreadsheets in .NET, we went through and showed how you can create a Workbook with NPOI in C#. We also showed examples of how to read data from a spreadsheet and save the workbook as an XLSX. NPOI is a powerful open-source API that lets you work with Microsoft Office Excel Spreadsheets and Word Documents. In this article, we further explore the features of inserting a comment in an Excel worksheet using NPOI with .
March 24, 2023 · 3 min · Kashif Iqbal