1

I am trying to display an Excel file within a Windows Form, not based with .NET, but just for a desktop application. I need to be able to save the form as a PDF in a location on users personal computer and then also print it out. I don't want the file to open a Excel sheet but for it to look like its part of the form.

Giulio Vian
  • 8,064
  • 2
  • 32
  • 40
user3283123
  • 11
  • 1
  • 4

1 Answers1

1

I can recommend you this example:

How to Integrate Excel in a Windows Form Application using the WebBrowser

You can embed the Spreadsheet into a Windows Forms with that trick from bsargos.

For the export you can try this:

iTextSharp, a .NET PDF library

Federico Navarrete
  • 2,641
  • 5
  • 39
  • 64