Question

Locked

Open Excel file on Local Computer which is located on Server Using Asp.Net

By deshpandevd ·
Hello

I want to open a Excel file on my local computer.
File is located on Server Computer.

I am using Microsoft Office XP.

I try this code

Excel.Workbook theWorkbook = ExcelObj.Workbooks.Open(
openFileDialog1.FileName, 0, true, 5,
"", "", true, Excel.XlPlatform.xlWindows, "\t", false, false,
0, true);

Excel.Sheets sheets = theWorkbook.Worksheets;

Excel.Worksheet worksheet = (Excel.Worksheet)sheets.get_Item(1);


But it doesn't Work


So plz Tell me how i open the Excel file by using Asp.Net

Thanks

Vivek

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Reply : Open Excel file on Local Computer which is located on Server Using

by anandhr1980 In reply to Open Excel file on Local ...

I am not familiar in this but I give small idea to you.

Note: You need OfficeXp(2002) or above

Step1 Open Excel file
Step2 Save as Template
Step3 Then place the Excel sheet template in Server
Step4 Give authentication to that file
Step5 Now you can view Excel file from Client machine

Back to Networks Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums