Quantcast
Channel: ClosedXML - The easy way to OpenXML
Browsing all 1877 articles
Browse latest View live
↧

New Post: Closing a ClosedXML generated Workbook.

It is also possible that the email sending is not releasing the file.

View Article


New Post: Copying range become very slow than copying with Microsoft Interop...

I can't imagine what you're doing here but it seems you can copy the range then copy the 2 ranges, then 4, then 8, etc. The copy itself is expensive so there's little to do about it at the moment.

View Article


New Post: Adding images to worksheet

I just asked the CodePlex team to migrate this project to GIT. That way you (and everyone else) can submit pull requests much more easily. Thanks for the help.

View Article

New Post: Adding images to worksheet

Fantastic! We'd much prefer to work with git in any case.

View Article

New Post: Closing a ClosedXML generated Workbook.

Good morning to both of you, Apologies for not having replied sooner, but I couldn't get ahold of the code to test it until today. As roberttanenbaum said, it was the email sending process not...

View Article


New Post: Using foreach to deal with Excel rows and skip the 1st row as header

It really helped, but the trick was to use the correct type of parameter in Rows(). Since Rows() doesn't work, I used Rows((Func<IXLTableRow, bool>)null) and works fine. The code changed to...

View Article

New Post: Adding images to worksheet

It's on git now. I haven't tested it yet but submit your pull request and we'll see how it goes :)

View Article

New Post: Does ClosedXML instantiate a new instance of Excel?

I am writing a C# program that will run on a task scheduler 3 - 4 times a day. It will be installed on a server that is also used as a terminal server w/ folks using Remote Desktop to access it...

View Article


New Post: Does ClosedXML instantiate a new instance of Excel?

You do not need Excel installed on the server. To create the file you need to do a workbook.SaveAs() call to save the workbook to a file. Put a try/catch around the SaveAs to see if it is getting any...

View Article


Image may be NSFW.
Clik here to view.

New Post: Does ClosedXML instantiate a new instance of Excel?

I already did that and there is no error. It works OK on my laptop (but then again, I have Excel – thus the reason why I thought it was req’d). I attached the snippet of code that does this. I have...

View Article

New Post: Validation of cell using fixed List of values

Check the documentationhttps://closedxml.codeplex.com/wikipage?title=Data%20Validation ws.Cell("C1").Value = "Yes"; ws.Cell("C2").Value = "No"; ws.Cell("A5").DataValidation.List(ws.Range("C1:C2"));

View Article

New Post: Does ClosedXML instantiate a new instance of Excel?

You don't need Excel to use ClosedXML. Put a log before and after workbook.SaveAs

View Article

New Post: Validation of cell using fixed List of values

Thanks, but this is not what I want to achieve. I do not want to specify a range inside the sheet as valid values, but just a list of fixed strings. As you can see in the screenshot it is possible in...

View Article


New Post: Does ClosedXML instantiate a new instance of Excel?

There is a log try before the SaveAs (actually right before the connection is closed & disposed) and then one right afterwards as shown below: . . . . indcell = "F" + i.ToString();...

View Article

New Post: Does ClosedXML instantiate a new instance of Excel?

No clue but it has to be a server setup/configuration/environment thing.

View Article


New Post: Does ClosedXML instantiate a new instance of Excel?

I think I just found it!!! The specified directory needed to have a trailing '\' on it. Now it works! Thanks for the help!

View Article

Created Unassigned: Datetime text has been cuted! [9315]

I just find the text if like this "Tue 23/10/12", and i assign it to the value of the cell, it will automatically cut the "Tue" and it becomes "23/10/12".and if the text is "6:00" it will automatically...

View Article


Image may be NSFW.
Clik here to view.

New Post: How to read two tables from Excel with C#?

Hi all. I have an exercise, to create a program with C# Windows Form, which could convert TWO tables from Excel to a single XML document. I have been writing this problem in about 7 forums (for...

View Article

New Post: How to read two tables from Excel with C#?

worksheet.Table(stringTableName) worksheet.Table(int32TableIndex) worksheet.Tables = collection of tables in the worksheet

View Article

Closed Unassigned: Datetime text has been cuted! [9315]

I just find the text if like this "Tue 23/10/12", and i assign it to the value of the cell, it will automatically cut the "Tue" and it becomes "23/10/12".and if the text is "6:00" it will automatically...

View Article
Browsing all 1877 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>