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 ArticleNew 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 ArticleCommented 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 ArticleCommented 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 ArticleCommented 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew 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 ArticleNew Post: how to add page break every 14 row
the code is working but it's not working as i needed
View ArticleNew 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 ArticleNew 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