Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting to Excel and Protecting Cells

Status
Not open for further replies.

r3g

Programmer
Apr 29, 2003
5
AU
hi,

i have an ASP script which loads a crystal report and exports it to an excel sheet - this part works fine. this excel sheet is then emailed to some users. however i'm interested in locking certain cells so that the users cannot edit the fields.

does anyone have a suggestion on how to do this ? i was thinking of opening the xl sheet in my asp code and hard-coding the cell values i needed to lock and then password protecting the whole sheet; although i'm not too keen on that idea.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top