Click here to Skip to main content
12,887,921 members (38,159 online)
Click here to Skip to main content

Stats

195K views
16.7K downloads
102 bookmarked
Posted 22 Apr 2012

Creating basic Excel workbook with Open XML

, 5 May 2012 CPOL
This article describes how to create a basic Excel workbook using Open XML.
<Window x:Class="ExcelOpenXMLBasics.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Excel OpenXML basics" Height="249" Width="288">
    <Grid>
        <StackPanel>
            <Button Margin="3" Name="btnCreateBasicWorkbook" Content="Create basic workbook" Click="btnCreateBasicWorkbook_Click"/>
            <Button Margin="3" Name="btnCreateBasicWorkbookPredefinedStyles" Content="Create basic workbook with predefined styles" Click="btnCreateBasicWorkbookPredefinedStyles_Click"/>
            <Button Margin="3" Name="btnCreate10000SharedStrings" Content="Create 10,000 shared strings" Click="btnCreate10000SharedStrings_Click"/>
            <Button Margin="3" Name="btnCreate10000Strings" Content="Create 10,000 strings" Click="btnCreate10000Strings_Click"/>
        </StackPanel>
    </Grid>
</Window>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Wendelius
Architect
Finland Finland
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170424.1 | Last Updated 5 May 2012
Article Copyright 2012 by Wendelius
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid