Convert Visio to Excel format

Exporting to Excel

This article explains how to export a Microsoft Visio diagram to Excel using Aspose.Diagram for Java API.

Use the Diagram class' constructor to read the diagram files and the Save method to export the diagram to any supported image format.

The image below shows the VSD diagram that the code snippets below export Excel. You can use other diagram formats (VSS, VSSX, VSSM, VDX, VST, VSTX, VSTM, VDX, VTX or VSX) as well.

The source file.

To export VSD diagram to Excel:

  1. Create an instance of the Diagram class.
  2. Call the Diagram classs Save method and set the output format to Excel.

Exporting to Excel Programming Sample