openxml doesn't retrieve the same value than what VBA gives
Hello,I am using apache POI library to read Excel files from a Java program. I have the following issue with reading numbers :I have the cell D5 that contains the formula "=3000000/D10" and D10 cell...
View ArticleOpenXML XLSX Validates but Error when opened
I am trying to generate a chart using the OpenXML SDK. My file validates using OpenXML SDK Productivity Tool, but still shows an error when opened. When opened in Excel, the repaired part (removed) is...
View ArticleHow to suppress warning while opening Excel *.xls file created using Open XML...
Hi We have ASP.Net MVC application. There is excel file download functionality supported in our web application.Previously *.xls file was created using Excel Application and was getting downloaded, but...
View ArticleHow to optimize fetching of data from a Excel file which has more than 15k...
Hi,I am trying to create a dictionary from a Excel file with column 1 as Key and column 2 as Value.I have used Open XML format,DOM method to achieve the same but it's taking too much around 5 mins for...
View ArticleNeed Hierarchy of PresentationML
Hi,I want to know a hierarchy of PresentationML for a .pptx where i have one title, one logo image place holder, one text body and one Image Place holder.i have seen lot of links but were not able to...
View ArticleSpreadsheet cells do not use correct Fill definition
I am creating an Excel spreadsheet for Office 2010. Note, I am using the SAX method as the amount of data will be very large. I am having a problem will Fill objects. I have defined two: fills =...
View ArticleWhat is the best solution to create power point document programmatically?
I'm new to Open Xml SDK. I want to dynamically create PPTX document via C#. Is OpenXml SDK the good choice for creating power point document? On MSDN link...
View ArticleHow to create Theme part using xml?
I have seen most of theme part is Office Theme. Since I have the whole xml for this theme, is there any API I can use to create a whole theme part with xml?Thanks in advance!!!
View ArticleGet file property value by name using Reflection on...
Hello,my question is the following one:Investigating on the web, the only examples I found to get a file built-in property value like 'Author', 'DateLastSaved' or 'Company' look like this:string...
View ArticleHow to package folders and xml files to pptx format?
I have unzipped .pptx file and modified minor content. I want to zip them up again to create a new pptx file. How can I do that? Is this doable?Thanks in advance!!!
View ArticleOpenXML Excel file corruption, DataValidations
I am creating an excel file using OpenXML SDK 2.0 from a WPF application. The excel file has multiple sheets, data validations for dropdown cells, Formulas, and StyleSheets applied. It works fine...
View Articlemp4 video doesn't play in PowerPoint 2016
I'm using Windows 10 and Office 2016. I created a PPTX with an embedded mp4 using PowerPoint. It plays fine without any problem. Then I used OpenXml SDK2.5 productivity tool to generate C# code based...
View ArticleHow to open an existing Excel worksheet and set column width to best fit...
How to open an existing Excel worksheet and set column width to best fit Using openXML SAX in C# ? I need to iterate the columns to set them to best fit.I found many examples online to set the column...
View ArticleHow to add a Horizontal Bar Chart to Word.docx to be updated in code?
Hi,How can a chart be put onto openxml Word doc? I can create a blank or dummy chart to put there and try to sort thru to get into the values, but how is it done?Goal: to add a 1-100% stacked Horiz...
View ArticleIs it posible to create a vba/macro using Open Xml Format and open xlsm files
Hi,We're trying to use the Open Xml Format Library for generating excel documents. So we would like some infomation and specifications about Open Xml Format.What we want to do, is to write the vba...
View ArticleChart doesn't refresh without user interaction after changing embedded excel...
Hello,I am really falling short with faith that there is solution to my problem. 1.) I have prepared PPTX file This file contains few slides with text placeholders, tables and charts.2.) Updating...
View ArticleAdd hyperlink
ok seriously this is the 4th day in a row that ive asked a question, but ive been googling and searching the sdk documentation and cant find out how to do this. I know what markup is required to add a...
View ArticleExcel XML file saving as .xls or .xlsx programmatically
I have a unique requirement that I have a excel xml file(file extension is .xml and looks like xslt when I open in notepad). It opens in excel and displays the table header and rows correctly of the...
View ArticleFormatting text and columns in Open XML Excel
I'm brand new to Open XML for Excel and am finding that I spend most of my time spinning my wheels with it (Has anyone else had this experience?) I'm trying to convert some code that used to use...
View ArticleOpenxml c# to copy template and create multiple pages
I am planning to use openXML <g class="gr_ gr_31 gr-alert gr_spell undefined ContextualSpelling ins-del multiReplace" data-gr-id="31" id="31">sdk</g> for search and replace in a template....
View Article