Quantcast
Channel: Open XML Format SDK forum
Browsing all 1288 articles
Browse latest View live

Unable To Open xlsm file in OpenXML SDK 2.0

I'm having a problem opening xlsm files. If I try to open the file with Open XML I get a "File is Corrupted" error. However if I or someone else opens the file in Excel and then saves it (not making...

View Article


edit and save excel file with macros on xlsm format (OpenXML SDK 2.0)

Hy,I'm having a problem editing and saving xlsm files (with macros) programmatically. If I try to open the generated file manually, i get a "File is Corrupted" error.

View Article


OpenXML SDK 2.5 with Visual Studio 2008

I am trying to use the OpenXML 2.5 with Visual Studio 2008, but have not been able to get it to work.  I added the DocumentFormat.OpenXml and WindowBase as references to the project, but there is an...

View Article

SpreadsheetDocument not accepting memory stream from XLSM doc

Hi,<o:p></o:p>SpreadsheetDocumentclass not accepting memory stream from XLSM doc.<o:p></o:p>IF I pass memorystream of xlsx document, it doesn't through error...

View Article

Bug: allocated Paragraph preventing file save

Hi all, I just tried to make a simple program that replaces a text in a file; However, if I get a handle to a paragraph before doing the replacement, after the file is closed the content remains...

View Article


Paragraph identation attribute corrupted by sdk and yields invalid document.

I set the body.InnerXml directly, but our markup corrupted by the sdk.If the original xml document contains<w:pPr><w:ind w:left="288" /></w:pPr> the sdk "convert" it...

View Article

Copying a worksheet in OpenXML that has previously been modified

I have followed the routine used here to copy a worksheet in a workbook into the same workbook by using .AddPart<>() and a temporary workbook to serve as a middleman, but have come up with some...

View Article

installing Open SDK 2.0 with .net 4.0

I'm trying to install openxmlsdkv2 (with .net 4 working), and getting "The setup requires .net 3.5 sp1". what can i do ? 

View Article


Error making more than one copy of a worksheet

I have a program which modifies an existing spreadsheet. Part of the program creates copies of certain sheets. To create one copy, the program runs perfectly and the resulting file is also fine,...

View Article


Image may be NSFW.
Clik here to view.

how to generate thumbnail form buildingblock?

"%appdata%\Microsoft\Document Building Blocks\2052\15\Built-In Building Blocks.dotx" this office default template file has many useful buildingblocks, in word can take a look from UI command...

View Article

Query Regarding Support of OLE objects

Hi,I have a migration tool that migrates data from Lotus Notes ECM. However i am not sure about Office Info Path 2010 that supports the creation of OLE objects or not. I just want to make sure if Info...

View Article

Unable to open .docx created with OpenXML SDK 2.5 in Word 2007

Hi,I use OpenXML SDK 2.5 to open and modify a .dotx template in c# and save it in .docx format. Most of our machines are able to open the resulting file with no difficulty, but I've discovered that...

View Article

Office open XML ( open XML) probelm with Mac OS

Hi, How can i check whether my application is generating Transitional OpenXML document or Strict OpenXML document ? And how can i convert that into a Transitional OpenXML document ? Please suggest me...

View Article


Using OpenXML SDK via C++/CLI

I am trying to use the OpenXML SDK 2.5 via C++/CLI. Using the example code at the bottom of this MSDN page (http://msdn.microsoft.com/en-us/library/office/ff478153.aspx) works correctly when compiled...

View Article

Read a very large Excel file using SAX parser

Hi All,I have a very large Excel file (Column A - By) anf around 1 Lac rows.My objective is to read this is Asp.net in a fastest way without impacting the performance.For that, I created a sample...

View Article


Preserving header and footer in merged Word document

I am trying to merge multiple DOCX files into one document using Open XML SDK 2.  Using the code below (simplified to merge one file), I see the body of the source document in the target document, but...

View Article

Customized ribbon group is shown twice -- customui.xml is in addition to the...

I have a Word 2007 template (dotm) which includes a ribbon with an additional custom group and some macros. When a docx file based on this template is generated, the customized ribbon is copied to the...

View Article


C++/CLI Spreadsheet::Text How do I set the "Text" string? Getting C2273/C2228...

How am I supposed to set the value of the "String" Text within the ambiguously named DocumentFormat::OpenXml::Spreadsheet::Text class?Using OpenXml SDK 2.5Thanks!// // Set the...

View Article

Using Open XML SDK Code Snippets

I am having trouble using the reflect code for the whole excel document I created as a report sheet. I get a stack overflow error when trying to create that report sheet programmatically using the...

View Article

OpenXml,Excel,C#

Hi,Please explain, how to freeze particular row in the excel sheet using openXML in C#. thanks,Elangovan P

View Article
Browsing all 1288 articles
Browse latest View live