English

Insert Image in Excel using NPOI in .NET

Inserting images in Excel files is a very commonly used feature for Microsoft Excel users. Adding images to your Excel workbooks helps clarify your point of view and data representation more effectively. You can add multiple images to each worksheet in your workbook. As a .NET application developer, you may want to add the feature of inserting images in Excel files from within your application programmatically. The good news is that this can be achieved using NPOI API in C# and VB.
May 11, 2023 · 3 min · Kashif Iqbal

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

Using NPOI API for Spreadsheets in .NET: A Comprehensive Guide

NPOI is an open-source .NET API for developing applications to work with spreadsheets. It is available for free and you can use it in your .NET projects. NPOI is simple, easy to use, and can be set up easily to start working with Excel spreadsheets. In this article, we’ll explore working with NPOI API to create, read and save Excel XLSX files, though it can work with XLS file format in the same manner.
March 9, 2023 · 4 min · Kashif Iqbal

NPOI – An Open-Source .NET API for Microsoft Office File Formats

NPOI is an open-source .NET project that provides an easy-to-use API for working with Microsoft Office file formats. It supports various file formats for Excel, Word, and PowerPoint such as XLS, XLSX, DOC, DOCX, PPT, and PPTX. We are going to have a look at installing NPOI API for working with Spreadsheet documents. Installing NPOI NPOI can be installed using two methods. Installation from GitHub Repository Installation from NuGET Installing NPOI from GitHub Repository Step 1: Download NPOI API – The first step is to download the NPOI API.
March 7, 2023 · 2 min · Kashif Iqbal

Difference Between PPT and PPTX

If you are a regular user of Microsoft PowerPoint for a long time, you must be aware of the PPT and PPTX file formats. Both these presentation file types have been part of Microsoft PowerPoint for quite some time now. PPT is the oldest PowerPoint file format that had been widely used for saving presentations to disc. It was replaced by the newer PPTX file format with the introduction of Office 2007 which is the default format for saving presentations ever since.
August 25, 2022 · 3 min · Kashif Iqbal

Difference Between DOC and DOCX

DOC and DOCX extensions refer to the popular Microsoft Word file formats that have been part of its Office suite for a long time. DOC is the oldest file type and has been widely used prior to the introduction of the DOCX file format. DOC files are also known to be Word97-2003 files. DOCX file format was introduced with the launch of Word 2007 and is the default file format for saving word documents.
August 11, 2022 · 4 min · Kashif Iqbal