Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created November 15, 2018 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/a5d1bfd89e80da45eca26ab6e34b0d0c to your computer and use it in GitHub Desktop.
Save bjoerntx/a5d1bfd89e80da45eca26ab6e34b0d0c to your computer and use it in GitHub Desktop.
string[] sDocumentParts = LoadSettings.GetDocumentPartNames("cash_excel.xlsx",
StreamType.SpreadsheetML);
LoadSettings ls = new LoadSettings();
foreach (string documentPart in sDocumentParts)
{
ls.DocumentPartName = documentPart;
textControl1.Append("cash_excel.xlsx",
StreamType.SpreadsheetML,
ls,
AppendSettings.StartWithNewSection);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment