tags:

views:

75

answers:

2

Hi to All,

Hi I am creating the application which creates the excel file pro grammatically.

Now I want to open it just after saving it pro grammatically in my code.

How I can open the file. Please reply...

Regards, Girish

+1  A: 

You can use

Process.Start( pathToSavedExcelFile );

This will open Excel if its installed.

Akash Kava
Dear question is tagged `asp.net`
TheVillageIdiot
It is done using Process.Start( pathToSavedExcelFile );thanks.
GirishC
clearly not asp.net then
AdamRalph
A: 

Very confusing question. You can open a workbook by using the Workbooks.Open method of Excel, if you are using Microsoft.Office.Interop.Excel.

Mathias