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,248
  • 2
  • 33
  • 41
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
  • 3,069
  • 5
  • 41
  • 76