epplus Questions

8

Solved

Using EPPlus, I want to read an excel table, then store all the contents from each column into its corresponding List. I want it to recognize the table's heading and categorize the contents based o...
Toitoiboid asked 15/4, 2016 at 3:44

1

I am working with EPPlus and try to place a image into B1 cell. I found a nice post which show how to detect aspect ratio and set size for image accordingly. I saw his code but still few things are...
Georginageorgine asked 11/9, 2021 at 9:49

4

Solved

I'm using EPPlus to read excel files. I have a single cell that is part of merged cells. How do I get the merged range that this cell is part of? For example: Assume Range ("A1:C1") has b...
Marquis asked 6/12, 2017 at 17:29

3

Solved

What is the command needed in EPPlus , to move a worksheet location in a workbook? I couldn't find any Move command for EPPlus only Interop.
Subplot asked 22/6, 2016 at 14:23

1

I am exporting SSRS reports into to individual excel files and I am merging them into one file using EPPlus. Merge happens successfully but I get following error when I try to open the file in Exce...
Mehala asked 14/11, 2019 at 17:38

5

Solved

I want to export a data table to an Excel file with EPPlus. That data table has a property with int type, so I want the same format in the Excel file. Does anyone know way to export a DataTable l...
Persecution asked 2/12, 2012 at 13:31

3

using .net 4.5 I'm trying to read .xls/.xlsx file using EPPlus (v4.0.4), but get an error. SO has questions on the same error but none relate or solve my problem. protected void Page_Load(object...
Waistband asked 27/10, 2015 at 13:0

5

I am editing an existing spreadsheet in C# using EPPlus. I am altering the raw data on the second worksheet which is being used as the data source for a Pivot table on the first worksheet. My edits...
Demodena asked 29/8, 2016 at 15:12

2

Solved

I searched a lot, but i ended up here asking this question. There is no satisfying answer to my question: I want to create an excel pivot (WorkSheet1 as PivotTable, WorkSheet2 as Data Source) I don...
Symposium asked 22/7, 2016 at 19:58

3

Solved

Using VS2019 I have generated an Azure Function project. The Azure function is triggered by an HTTP request to convert CSV content to an XLSX file using EPPlus. The code is really really simple: [F...
Denture asked 20/12, 2020 at 0:40

4

I am trying to generate an Excel file using the following code: public static Stream GenerateFileFromClass<T>(IEnumerable<T> collection, int startrow, int startcolumn, byte[]templateRes...
Amias asked 1/9, 2014 at 10:11

2

Solved

I have an Excel template that has a table (range: A4:AM5) which I need to expand by inserting rows via EPPlus. My code inserts the cell values in the file with no problem, but I need to extend the ...
Jann asked 10/4, 2019 at 12:58

2

I am able to generate Column Stacked chart using EPPlus. There is is requirement to change the color of datapoint. I found the solution of at enter link description here but it only changes the co...
Multicolor asked 18/12, 2015 at 13:31

3

Solved

I'm using the EPPLUS library to read data from Excel to create another file. Unfortunately it does not support the .XLSM extension file. Is there a nice way to convert .XLSM files to .XLSX file for...
Impuissant asked 24/6, 2012 at 6:6

5

Solved

I want to freeze first 5 columns and three rows in excel. I have written the following code for that Worksheets.View.FreezePanes(5, 5); but it freezes columns in first 4 rows also. I want to fre...
Favor asked 21/1, 2015 at 6:58

3

Solved

This problem has me completely puzzled. I have a Excel document which loads in just fine. It has rows, columns and data and I want to iterate through the rows. But EPPLus is odd. I take the sec...
Extempore asked 19/8, 2016 at 13:6

2

Solved

I can set the background color of a cell or range of cells like so: rowRngprogramParamsRange.Style.Fill.PatternType = ExcelFillStyle.Solid; rowRngprogramParamsRange.Style.Fill.BackgroundColor.SetC...
Rosetta asked 11/8, 2016 at 22:39

4

I am using EPPlus library in my .net core web api. In the said method I want to validate he uploaded excel. I want to find out if my entire row is empty. I have the following code: using (ExcelPac...
Philanthropy asked 31/8, 2018 at 14:35

7

Solved

Is there a way to make a column or group of cells locked or read only using EPPlus? I've tried the code below both separate and together however neither seems to have the desired effect. Either the...
Deciliter asked 23/12, 2013 at 22:0

5

Solved

Hello I have this code where i create an xlsx file and i need to pre set the width of the xlsx sheet cells. The actual problem is that when i open the excell i need to double click on the gap betw...
Eastbound asked 1/2, 2012 at 12:55

7

I use EPPlus to export excel 2007 file. The file can export normally but i have some problem with setting column format. My string column with numeric style (Purchase Order No. ex. 49000001) be exp...
Gabriellegabrielli asked 8/8, 2012 at 5:23

4

Solved

The problem: I am using EEPlus. I am stuck at applying a hex color code, e.g. #B7DEE8, for a cell in my Excel sheet. I got the following (working) code: ws.Cells["A1:B1"].Style.Fill.PatternType...
Dariusdarjeeling asked 8/6, 2013 at 10:16

2

Solved

I want to clone worksheet int my excel template file programatically. When Using NPOI library I can use HSSFWorkbook workbook = new HSSFWorkbook(fs, true); workbook.CloneSheet(1); I wonder is ...
Osteoclast asked 1/2, 2018 at 9:37

0

In our Asp.Net Core API application we load a templated Excelfile using EPPlus. Add in the data from the database and use .GetAsByteArray() to return a generate Excel file. I now need give the user...
Polyphagia asked 5/8, 2020 at 13:52

2

Solved

In my MVC 5 site, I have an Export to Excel function that is stable, but the users have requested that I make the column headers "user friendly." In my model, I use the [Display(Name="Friendly Col...
Mohn asked 24/11, 2015 at 20:27

© 2022 - 2024 — McMap. All rights reserved.