Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Intro

Excerpt

Import data to an existing template with multiple charts. Manipulate existing charts with ExcelApplication.

This demo shows how to open an existing Excel workbook and programmatically edit properties of existing charts with OfficeWriter.  Select the major product categories you would like to see in the report.  The SeriesCollection of the existing chart will be changed at runtime to reflect the number and types of categories you chose

WordWriter allows you to insert elements from separate documents. You can use this functionality to copy/paste document elements into different files, or to easily merge Word documents. This sample demonstrates how to merge three different Word documents into one unified document.


This sample uses the WordApplication class to open three existing documents and insert them into a new blank document. The InsertBefore() and InsertAfter() methods are used, which accept an element from the current document or any other document, inserting it into the current document.

Code