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

New Post: Tables with Empty Cells

I'm creating a report where labels are on the top and left of a worksheet and data resides at the intersection of the labels. The following code is able to get me the appearance that I want. However,...

View Article


New Comment on "Style Rows and Columns"

hi. Can i set the width and height of columns and rows with pixels? for example, ws.Row().Width = 20px;

View Article


Commented Unassigned: Locking cells doesn't work [9381]

Hello,Looks like Worksheet.Cell(i,j).Style.Protection.Locked = true does not work like intended and the field is still editable. Is there something I am missing?ThanksComments: Is there a way to unlock...

View Article

Commented Unassigned: Datetimes read as double [9091]

Hello friends,I'm having a problem while reading an .xls using ClosedXMLI'm trying to copy a worksheet into an html table. However, when I get down to the cells that have dates on them (see...

View Article

Commented Unassigned: The specified package is invalid. The main part is...

I am using the closed XML for generating the excel template. After filling the data in the generated excel, I am trying to import the excel with data. It returns error "The specified package is...

View Article


New Post: how to add page break every 14 row

i got stuck on this solution and can't find any example i use this but it break just first 14 rowws.PageSetup.AddHorizontalPageBreak(14)

View Article

New Post: how to add page break every 14 row

How do you do it in Excel?

View Article

New Post: how to add page break every 14 row

i do it on excel by macroSub InsertPageBreaks() 'Updateby20140618 Dim xLastrow As Long Dim xWs As Worksheet Set xWs = Application.ActiveSheet xRow = Application.InputBox("Row", xTitleId, "", Type:=1)...

View Article


New Post: how to add page break every 14 row

Do a loop until the LastRowUsed incrementing by xRow instead of 1 and add the page breaks (just like you're doing in your macro).

View Article


New Post: how to add page break every 14 row

Dim xrow As Integer = 0 Do Until xrow == ws.LastRowUsed() ws.PageSetup.AddHorizontalPageBreak(xrow) xrow += 13 Loop i tried this but it doesn't work :'(

View Article

New Post: how to add page break every 14 row

Try until xrow >= last row used If that doesn't work then be more specific on why/what doesn't work.

View Article

New Post: how to add page break every 14 row

i tried until xrow >= lastrowused() there is the same is Operator '>=' is not defined for type 'Integer' and 'closedxml.excel.ixlrow

View Article

New Post: how to add page break every 14 row

LastRowUsed().RowNumber()

View Article


New Post: how to add page break every 14 row

it's work just first 13 row

View Article

New Post: how to add page break every 14 row

Make a repro...

View Article


New Post: how to add page break every 14 row

can you tell me what is repro

View Article

New Post: how to add page break every 14 row

You marked it as answered so I guess it's working now. Repro = reproduction = a way to reproduce the error (usually in the form a bare minimum project that can be run to show the error).

View Article


New Post: how to add page break every 14 row

the code is working but it's not working as i needed

View Article

New Post: how to add page break every 14 row

sorry @MDeleon it's my false code is work like a charm, i put a code on wrong button

View Article

New Post: getting Repaired Records: Worksheet properties from...

i getting this error Repaired Records: Worksheet properties from /xl/worksheets/sheet.xml part with my memory stream Response.Clear() Response.Buffer = True Response.Charset = "" Response.ContentType =...

View Article
Browsing all 1877 articles
Browse latest View live


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