Author: meetmammu | Posted on: 1/27/2009 6:13:10 AM | Views : 287

I am stuck with a problem

The Requirement is that, there a complex Excel file(XLS) that is used as template; it has Macros and all the worksheets are either locked or hidden. When the user clicks to download it, the follows operation occurs



Unlock a particular worksheet, fill some data @ certain cells and then lock it back.

Unhide a worksheet, fill some data @ certain cells and then hide it back.
I think there are two options to resolve it (if there are more then please let me know)



Interop libraries / Excel Object Library

OLEDb Driver  
 I cannot got with the option 1 as excel is not installed on the webserver and I heard that it's not a good option to install MSOffice @ webserver.

My question is that can we use OLDb to perform the operations mentioned above OR is there any other option ??? ...

Go to the complete details ...