Free Support Forum -

Open in browser

When I do:

ef.Save(sUser & ".xls", SaveType.OpenInBrowser, FileFormatType.Default, Me.Response)

I want the excel file to open within the browser, not in Excel, in case the client machine does not have Excel on it. I want the functionality that Excel has, if I open an xls and save as htm. Then the htm will open in the browser, with tabs for each worksheet, and if my browser is IE, a menuitem is added to the File menu "Edit with Microsoft Excel for Windows" which will open the same spreadsheet in Excel.

How can I achieve this with Aspose?

To view the generated Excel file, you have to install MS Excel in client machine.

For your case, you can try Aspose.Excel.Web. It's a web control to display data similiar to MS Excel on web pages. But it's impossible to add a menu item as MS Excel.