Click here to Skip to main content
12,241,564 members (45,368 online)
Click here to Skip to main content

Stats

167.6K views
15K downloads
99 bookmarked
Posted

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="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

Mika Wendelius
Architect
Finland Finland
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 May 2012
Article Copyright 2012 by Mika Wendelius
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid