<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>EPPlus Discussions Rss Feed</title><link>http://epplus.codeplex.com/Thread/List.aspx</link><description>EPPlus Discussions Rss Description</description><item><title>New Post: Cannot open password protected file (Excel 2007)</title><link>http://epplus.codeplex.com/discussions/438297</link><description>&lt;div style="line-height: normal;"&gt;I have the same issue. The unlock works in Excel 2010, but not within the Framework. &lt;br /&gt;
&lt;br /&gt;
Besides, after the exception &amp;quot;Invalid Password&amp;quot; is thrown, the file remains stuck inside the process. (not sure if the framework has something to do about this.)&lt;br /&gt;
&lt;br /&gt;
Did you find a solution?&lt;br /&gt;
&lt;/div&gt;</description><author>BVictor</author><pubDate>Tue, 21 May 2013 12:20:06 GMT</pubDate><guid isPermaLink="false">New Post: Cannot open password protected file (Excel 2007) 20130521122006P</guid></item><item><title>New Post: How to insert blank values in a cell</title><link>http://epplus.codeplex.com/discussions/444334</link><description>&lt;div style="line-height: normal;"&gt;Your DLL is amazing. I am able to create excel file which fulfill my requirements. Minor problem occurred below&lt;br /&gt;
&lt;br /&gt;
I want to insert blank values in a cell and merge it but i am unable to do it.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;sheet.Cells[A1:A3].Value = &amp;quot;&amp;quot;;
sheet.Cells[A1:A3].Merge = true;&lt;/code&gt;&lt;/pre&gt;

Doesn't work&lt;br /&gt;
&lt;br /&gt;
Same i want to add a blank values in datavalidationlist&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
var listData = sheet.Cells[C1:C3].DataValidation.AddListDataValidation();
                        listData.Formula.Values.Add(&amp;quot;&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;A&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;B&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;C&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;D&amp;quot;);
                        listData.ShowErrorMessage = true;
                        listData.Error = &amp;quot;Please select a value from the list&amp;quot;; 
&lt;/code&gt;&lt;/pre&gt;

Pleae let me know how to do this.&lt;br /&gt;
&lt;/div&gt;</description><author>anilp</author><pubDate>Mon, 20 May 2013 20:15:02 GMT</pubDate><guid isPermaLink="false">New Post: How to insert blank values in a cell 20130520081502P</guid></item><item><title>New Post: How to insert blank values in a cell</title><link>http://epplus.codeplex.com/discussions/444333</link><description>&lt;div style="line-height: normal;"&gt;Your DLL is amazing. I am able to create excel file which fulfill my requirements. Minor problem occurred below&lt;br /&gt;
&lt;br /&gt;
I want to insert blank values in a cell and merge it but i am unable to do it.&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;sheet.Cells[A1:A3].Value = &amp;quot;&amp;quot;;
sheet.Cells[A1:A3].Merge = true;&lt;/code&gt;&lt;/pre&gt;

Doesn't work&lt;br /&gt;
&lt;br /&gt;
Same i want to add a blank values in datavalidationlist&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;
var listData = sheet.Cells[C1:C3].DataValidation.AddListDataValidation();
                        listData.Formula.Values.Add(&amp;quot;&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;A&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;B&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;C&amp;quot;);
                        listData.Formula.Values.Add(&amp;quot;D&amp;quot;);
                        listData.ShowErrorMessage = true;
                        listData.Error = &amp;quot;Please select a value from the list&amp;quot;; 
&lt;/code&gt;&lt;/pre&gt;

Pleae let me know how to do this.&lt;br /&gt;
&lt;/div&gt;</description><author>anilp</author><pubDate>Mon, 20 May 2013 20:15:00 GMT</pubDate><guid isPermaLink="false">New Post: How to insert blank values in a cell 20130520081500P</guid></item><item><title>New Post: Specified NumberFormat defaulting to Date</title><link>http://epplus.codeplex.com/discussions/444309</link><description>&lt;div style="line-height: normal;"&gt;I am having a difficult time setting the Number Format for cells in a worksheet that has been loaded from a template. &lt;br /&gt;
&lt;br /&gt;
If I try to set the Numberformat property for a cell to &amp;quot;#,##0.00;&lt;a href="#,##0.00" rel="nofollow"&gt;Red&lt;/a&gt;&amp;quot; or &amp;quot;#,##0.00_);(#,##0.00)&amp;quot; or &amp;quot;#,##0.00;(#,##0.00)&amp;quot; the result winds up formatted as a date (mm/dd/yyyy). &lt;br /&gt;
&lt;br /&gt;
The method I am using to set the cell format/value in all cases is:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;using (var cell = WorkSheet.Cells[rowIdx, columnIdx])
{
       cell.Style.HorizontalAlignment = ExcelHorizontalAlignment.Right;
       cell.Style.Font.Size = 8;
       cell.Style.Numberformat.Format = &amp;quot;#,##0.00;[Red](#,##0.00)&amp;quot;;
       cell.Value = &amp;lt;decimal/string value&amp;gt;;  
}
&lt;/code&gt;&lt;/pre&gt;

Has anyone else encountered this issue? Is there a best practice with regard to cell format setting?&lt;br /&gt;
&lt;/div&gt;</description><author>tmaly</author><pubDate>Mon, 20 May 2013 17:06:35 GMT</pubDate><guid isPermaLink="false">New Post: Specified NumberFormat defaulting to Date 20130520050635P</guid></item><item><title>New Post: Formating lines in a LineChart</title><link>http://epplus.codeplex.com/discussions/287917</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I also need these functions, different lines color, line styles (dotted, dashed, solid...).&lt;br /&gt;
Any news about this??&lt;br /&gt;
&lt;br /&gt;
Best regards&lt;br /&gt;
Cristian Barzaghi&lt;br /&gt;
&lt;/div&gt;</description><author>ilbarzo</author><pubDate>Mon, 20 May 2013 12:00:51 GMT</pubDate><guid isPermaLink="false">New Post: Formating lines in a LineChart 20130520120051P</guid></item><item><title>New Post: Expand Excel Table</title><link>http://epplus.codeplex.com/discussions/444045</link><description>&lt;div style="line-height: normal;"&gt;I would like populate an excel table within a template.&lt;br /&gt;
&lt;br /&gt;
The table will be linked to charts and pivots that exist within the template prior to population by EP plus.&lt;br /&gt;
&lt;br /&gt;
When I try to expand the excel table using insert row method the new rows are inserted into the spread sheet but the table row count remains the same (3 rows)&lt;br /&gt;
&lt;br /&gt;
How can I expand an existing excel table to the datatable record count?&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
Nick&lt;br /&gt;
&lt;/div&gt;</description><author>NickWard</author><pubDate>Fri, 17 May 2013 13:10:06 GMT</pubDate><guid isPermaLink="false">New Post: Expand Excel Table 20130517011006P</guid></item><item><title>New Post: Need help with multi-level outlining</title><link>http://epplus.codeplex.com/discussions/443761</link><description>&lt;div style="line-height: normal;"&gt;I'm having a really tough time trying to get multi-level outlining applied properly. I have 5 loops of collections that I'm trying to apply outlining to, but it is only placing everything under outline level 1 and ignoring the rest.&lt;br /&gt;
&lt;br /&gt;
Below is a snippet of what I have:&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;foreach (var publisher in Publishers)
{
     worksheet.cells[pubRow, 1].Value = publisher.Name;
     worksheet.Row(pubRow).OutlineLevel = 1;

     foreach (var author in Authors)
     {
          worksheet.cells[authorRow, 2].Value = author.Name;
          worksheet.Row(pubRow).OutlineLevel = 2;

          foreach (var book in Books)
          {
               worksheet.cells[bookRow, 3].Value = book.Title;
               worksheet.cells[bookRow, 4].Value = book.ISBN;
               worksheet.cells[bookRow, 5].Value = book.Edition;
               worksheet.cells[bookRow, 6].Value = book.Pages;
               worksheet.row(bookRow).OutlineLevel = 3;
               bookRow++;
          }
     }
}&lt;/code&gt;&lt;/pre&gt;

Can anyone help?&lt;br /&gt;
&lt;/div&gt;</description><author>CoolBreeze812</author><pubDate>Wed, 15 May 2013 15:32:18 GMT</pubDate><guid isPermaLink="false">New Post: Need help with multi-level outlining 20130515033218P</guid></item><item><title>New Post: Doesn't seem to read font styles correctly</title><link>http://epplus.codeplex.com/discussions/443706</link><description>&lt;div style="line-height: normal;"&gt;When I read the xlsx file, all cells seem to have the same Cells[...].Style.Font.Itallic/Bold/Strike etc.&lt;br /&gt;
&lt;br /&gt;
In other words, itallic and other properties always seem to be true, whether the cell's style is itallic or not.&lt;br /&gt;
&lt;br /&gt;
Anyone else had any trouble with this?&lt;br /&gt;
&lt;/div&gt;</description><author>SamiHuutoniemi</author><pubDate>Wed, 15 May 2013 10:18:48 GMT</pubDate><guid isPermaLink="false">New Post: Doesn't seem to read font styles correctly 20130515101848A</guid></item><item><title>New Post: Xltx files</title><link>http://epplus.codeplex.com/discussions/387657</link><description>&lt;div style="line-height: normal;"&gt;Hi xav2075&lt;br /&gt;
 &lt;br /&gt;
Your sample is working unless you don't attempt to work with the worksheets using EPPlus afterwards.&lt;br /&gt;
I also found this sample on OpenXML forums and have used it for creating Excel spreadsheets from Excel XLTX templates.&lt;br /&gt;
&lt;br /&gt;
But when I try to use the created spreadsheet using EPPlus after the change of documenttype, EPPlus cant find the sheets collection.&lt;br /&gt;
&lt;br /&gt;
Studying the XML code after changing the documenttype using Open XML Producticity code, one can se that the the rootname of the workbook is changed from &amp;quot;workbook&amp;quot; to &amp;quot;workbook2&amp;quot;.&lt;br /&gt;
This seems to be the cause of EPPlus not finding any sheets after the &amp;quot;conversion&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Do you (or anybody) have some mor input regarding this?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;br /&gt;
Peter karlström&lt;br /&gt;
Midrange AB&lt;br /&gt;
Sweden&lt;br /&gt;
&lt;/div&gt;</description><author>Peter_Karlstrom</author><pubDate>Tue, 14 May 2013 13:30:45 GMT</pubDate><guid isPermaLink="false">New Post: Xltx files 20130514013045P</guid></item><item><title>New Post: Performance Issue in AddShape</title><link>http://epplus.codeplex.com/discussions/443284</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
i need to create a report which will have 3 three shape in each page. and there will be more than 1000 page in that report. it was running fine with less data &amp;lt;10 page. But now i am having big performance issue as data size increases. Any help will be greatly appreciated. &lt;br /&gt;
Here is the code snippet for adding shape.&lt;br /&gt;
&lt;br /&gt;
 ExcelShape shape1 = sheet.Drawings.AddShape(&amp;quot;txt&amp;quot; + rowNo, eShapeStyle.RoundRect);&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;                            shape1.Border.Fill.Color = System.Drawing.Color.Black;

                            shape1.Fill.Color = System.Drawing.Color.White;
                            shape1.SetPosition(rowNo + 1, 0, 21, 0);
                            shape1.SetSize(320, 59);&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;</description><author>AnChakrabort</author><pubDate>Fri, 10 May 2013 19:15:58 GMT</pubDate><guid isPermaLink="false">New Post: Performance Issue in AddShape 20130510071558P</guid></item><item><title>New Post: Can Data Series Line Style Be Set</title><link>http://epplus.codeplex.com/discussions/442995</link><description>&lt;div style="line-height: normal;"&gt;I have a &lt;em&gt;eChartType.LineMarkers&lt;/em&gt; chart and the customer wants one of the lines to be a dashed line. Is this possible with EPPlus?&lt;br /&gt;
&lt;br /&gt;
Thanks.&lt;br /&gt;
&lt;/div&gt;</description><author>daveblack</author><pubDate>Wed, 08 May 2013 18:39:49 GMT</pubDate><guid isPermaLink="false">New Post: Can Data Series Line Style Be Set 20130508063949P</guid></item><item><title>New Post: How to set the value of Column Labels in the Pivot Table</title><link>http://epplus.codeplex.com/discussions/442851</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
How to set the value of Column Labels in the Pivot Table.I am able to set the value of Row label using RowHeaderCaption. But I did not find the option for setting the column label.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Malluri&lt;br /&gt;
&lt;/div&gt;</description><author>Malluri</author><pubDate>Tue, 07 May 2013 18:50:10 GMT</pubDate><guid isPermaLink="false">New Post: How to set the value of Column Labels in the Pivot Table 20130507065010P</guid></item><item><title>New Post: How to Show the value as "% of parent row total" for the column in Pivot table using epplus</title><link>http://epplus.codeplex.com/discussions/437541</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
Can someone please help me with this.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Malluri&lt;br /&gt;
&lt;/div&gt;</description><author>Malluri</author><pubDate>Tue, 07 May 2013 17:45:39 GMT</pubDate><guid isPermaLink="false">New Post: How to Show the value as "% of parent row total" for the column in Pivot table using epplus 20130507054539P</guid></item><item><title>New Post: Get Background Color</title><link>http://epplus.codeplex.com/discussions/435446</link><description>&lt;div style="line-height: normal;"&gt;&lt;strong&gt;3m2vinatohr04 wrote:&lt;/strong&gt;&lt;br /&gt;
&lt;blockquote&gt;
Hi guys any idea on how to get the background color?&lt;br /&gt;
&lt;br /&gt;
I've been trying:&lt;br /&gt;
&lt;br /&gt;
worksheet.Cells[&amp;quot;A1&amp;quot;].Style.Fill.BackgroundColor.Rgb&lt;br /&gt;
&lt;br /&gt;
but it returns &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Help pls.&lt;br /&gt;
&lt;/blockquote&gt;
Did you ever suss this out? I'm having the same issue.&lt;br /&gt;
&lt;/div&gt;</description><author>mparter</author><pubDate>Tue, 07 May 2013 16:05:39 GMT</pubDate><guid isPermaLink="false">New Post: Get Background Color 20130507040539P</guid></item><item><title>New Post: Unable to retrieve the background color of a cell</title><link>http://epplus.codeplex.com/discussions/442790</link><description>&lt;div style="line-height: normal;"&gt;It seems that no matter what the background color is of a cell in a workbook, the &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Sheet.Cells[1, 1].Style.Fill.BackgroundColor.Rgb &lt;/code&gt;&lt;/pre&gt;

property is always an empty string. I've also tried using&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Sheet.Cells[1, 1].Style.Fill.BackgroundColor.Indexed&lt;/code&gt;&lt;/pre&gt;

and &lt;br /&gt;
&lt;pre&gt;&lt;code&gt;Sheet.Cells[1, 1].Style.Fill.BackgroundColor.Tint&lt;/code&gt;&lt;/pre&gt;

and whilst these return values, they are always the same regardless of the color of the cell. So, is it possible to retrieve the background color of a cell?&lt;br /&gt;
&lt;/div&gt;</description><author>mparter</author><pubDate>Tue, 07 May 2013 10:24:02 GMT</pubDate><guid isPermaLink="false">New Post: Unable to retrieve the background color of a cell 20130507102402A</guid></item><item><title>New Post: Invalid Address format: (tablename)[(tablefield)] Exception</title><link>http://epplus.codeplex.com/discussions/442712</link><description>&lt;div style="line-height: normal;"&gt;Just an FYI for those using EPPlus for reading data formatted in a table.  I created a file with a tab with two tables that referenced each other via Vlookups and DataValidation dropdown lists.  Anyways, when trying to set the worksheet to a variable, I was getting an exception:&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Invalid Address format: mytablename[mytablefield]&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
No matter how many different names I tried, I still got this exception. &lt;strong&gt;Finally, I decided to remove the table format, and then recreate the table, using the same tablename and field names which fixed the issue.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I have no clue why this exception was occurring but I just wanted to post this in case someone else runs into this problem in the future.&lt;br /&gt;
&lt;/div&gt;</description><author>mjoyce19</author><pubDate>Mon, 06 May 2013 18:11:41 GMT</pubDate><guid isPermaLink="false">New Post: Invalid Address format: (tablename)[(tablefield)] Exception 20130506061141P</guid></item><item><title>New Post: how to get the CommentCell'address</title><link>http://epplus.codeplex.com/discussions/442688</link><description>&lt;div style="line-height: normal;"&gt;i made a excel file and i check the misstake using excel comment function;&lt;br /&gt;
i want to get the comment cell's address from C#.&lt;br /&gt;
&lt;br /&gt;
it is my code&lt;br /&gt;
&lt;br /&gt;
foreach (ExcelComment c in ws.Comments)&lt;br /&gt;
{&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;if (c.Text == &amp;quot;misstake&amp;quot;)
{
    MessageBox.Show(c.Address.ToString());←here!!
}&lt;/code&gt;&lt;/pre&gt;

}&lt;br /&gt;
&lt;br /&gt;
the 'c' have not address member where is the target to fix.&lt;br /&gt;
&lt;br /&gt;
Apologize my poor english. please help me.&lt;br /&gt;
&lt;/div&gt;</description><author>toughguy</author><pubDate>Mon, 06 May 2013 14:10:05 GMT</pubDate><guid isPermaLink="false">New Post: how to get the CommentCell'address 20130506021005P</guid></item><item><title>New Post: How to Create Multiple Charts in a Single Worksheet</title><link>http://epplus.codeplex.com/discussions/442677</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
 I want to create 2 charts in a single Worksheet but am passing 2 Data Tables, one which would populate Customer related info and the other would populate Client related info. &lt;br /&gt;
&lt;br /&gt;
I am unable to do so in same Worksheet.&lt;br /&gt;
&lt;br /&gt;
Can anyone please help me out.&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;/div&gt;</description><author>vips3483</author><pubDate>Mon, 06 May 2013 13:00:00 GMT</pubDate><guid isPermaLink="false">New Post: How to Create Multiple Charts in a Single Worksheet 20130506010000P</guid></item><item><title>New Post: Page number from cell</title><link>http://epplus.codeplex.com/discussions/442648</link><description>&lt;div style="line-height: normal;"&gt;Is it possible to determine which print page a given cell is on? &lt;br /&gt;
&lt;br /&gt;
I would like to print table headers on every page. (I do not want to use 'Print Titles' Excel feature, because I would like to customize the titles on every page)&lt;br /&gt;
&lt;br /&gt;
My spreadsheet is &amp;quot;one printer page&amp;quot; width and usually contains 34 rows / page, so most of the time I know when 'I am on a new page'. But some cells have word wrap on, so they consumes multiple rows.&lt;br /&gt;
&lt;br /&gt;
Should I count the height of rows? Any idea?&lt;br /&gt;
&lt;br /&gt;
Thank you very much!&lt;br /&gt;
&lt;/div&gt;</description><author>deverion</author><pubDate>Mon, 06 May 2013 08:40:58 GMT</pubDate><guid isPermaLink="false">New Post: Page number from cell 20130506084058A</guid></item><item><title>New Post: How to Escape special characters?</title><link>http://epplus.codeplex.com/discussions/219930</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br /&gt;
&lt;br /&gt;
I found exception like this  &lt;strong&gt;'&#x1F;', hexadecimal value 0x1F, is an invalid character&lt;/strong&gt;     while exporting to Excel 2007&lt;br /&gt;
&lt;br /&gt;
I am using EPPlus version 3.0.0.2&lt;br /&gt;
&lt;br /&gt;
if anybody know this type of issue reply me...&lt;br /&gt;
&lt;br /&gt;
Thanking You&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sharandeep&lt;br /&gt;
&lt;/div&gt;</description><author>sharandeep11</author><pubDate>Fri, 03 May 2013 12:58:53 GMT</pubDate><guid isPermaLink="false">New Post: How to Escape special characters? 20130503125853P</guid></item></channel></rss>