Read Excel 2007 file with Open XML - Identify blank cell
Hi I am working on a .NET 4.0 console application. I am trying to read the data from MS excel 2007 document. (file format in Xlsx)I use the below code to load the data into datatable. It works fine if...
View ArticleHow to Wrap the Japanese Text in the WordML?
Hi,I am having a requirement where I need to display the Japanese Text in WordML. I am able to display the Japanese text using the wordml and opening the document in microsoft word 2013 but the text...
View ArticleNewline and spaces are disappeared when open OpenXML generated xlsx file with...
Hi. I generated some xlsx file using OpenXML library, it has some text data with newline and spaces in both after and before texts. Some text has newline in their body. When I read xlsx file with...
View ArticleWrong replacement in content controls
Hi Experts,i have some Word-Documents with Plain-Text Content-Controls. Each one of them has a unique TAG to identify them later by code. In that code part i iterate over all Content Controls to see if...
View ArticleAdding date in the OpenXML Powerpoint
Hi there, I hope your appreciated help. First of all I must say that I am a newbie when it comes to net language. This is my problem. With OpenXml generate powerpoint presentation but I can not adding...
View ArticleOpen XML SDK 2.0 xlsx cell hyperlink works in Excel 2010 but in Excel 2007...
Hello, I have created myself with the Open XML SDK v2.0.5022.0 one xlsx Excel document that contains links to image files. Xlsx document that I can open in Excel 2010 with no problems and the links...
View ArticleOpenXMLSDK losing my format after mail merge
HiI am using OpenXMLSDK for mail merge and replace the Field Code with text. There is no problem with the replace as it replaces all the filed correctly in headers, footers and main document. The...
View ArticleBest way to import from XML
I have to preface this by saying this is really my first time working with moving data though XML and transposing it into a word document. Currently the place I work at just started using XML to shift...
View ArticleRead Excel file using OpenXML by Columnwise
hi all,I m having miss matched counts of columns in my excel EX: my excel file header row contains 10 columns and forecoming 5 rows having same 10 columns but the next row contains 12 columns .So I...
View ArticleXML File Won't Load
I have tried to load xml many different ways and have now started to do it this way: Dim advDocument As New XmlDocument Dim reader As New XmlTextReader("C:/temp2/A403963.xml")...
View ArticleHow to insert Word 2013 Start/End tag type Content Controls using OpenXML sdk
Is there any way to create a document with Start/End tag type a content control using open XML sdk?Antony
View ArticleConvert doc/docx to html
Guys,I want to convert my word document(doc/docx) to html.Is it possible using .net and openXML library.Microsoft.Office.Interop.Word has this functionality.markand
View ArticleOpen Xml combining multiple word document into one
HiI have written below code the combine multiple word DOCX to single one.But the merged document has lot of space and if i merge 2 - 24 page document into one it is not produced as 48 pages.because of...
View ArticleHow to hide grid lines by using open xml
Hi Actually i have a excel template, so i will copy the template and i will fill the data by using open xml, so that is fine, but i want to hide the grid line in each sheet, so i tried using below...
View ArticleFilling Excel Pivot sheet dynamically with C# DataTable
Hello,I have received xlsx file with data in one sheet and built pivot in another one.I need to insert/update dynamically table data from C# application's DataTable. Problem is that Pivot sheet's...
View ArticleIssue in programmatic Mail-Merge with word document using open-xml, asp.net, C#.
Issue in programmatic Mail-Merge with word document using open-xml, asp.net, C#. In one of our project we want to programmatically do mail-merge. That mean, we have an existing word document with...
View Articlecannot convert xlsm to xlsx using ChangeDocumentType
i tried to use openxml's changedocumenttype to convert xlsm to xlsx file, but when it was done, i cannot open it , the office showed me the xlsx file was broken. who can tell me why was that? this is...
View ArticleNeed suggestion to impove the performance to export data to excel
Following is my current code using excel interop way var data = new object[rows, columns]; for (var row = 1; row <= rows; row++) { for (var column = 1; column <= columns; column++) { data[row -...
View ArticlePerfomace issue in export to excel
Hello all,i want to write 100 k records to excel template with in less than 50 sec , by using following code we are able to achieve this, but this code uses the excel interop libraries.is there a way...
View ArticleIssue in programmatic Mail-Merge with word document using open-xml, asp.net, C#.
Issue in programmatic Mail-Merge with word document using open-xml, asp.net, C#. In one of our project we want to programmatically do mail-merge. That mean, we have an existing word document with...
View Article