Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default .Net and Excel 2000 Protect

I am trying to use the protect feature for a worksheet in 2000 from a .Net
application I am writing. I can unprotect it. But can not protect worksheet.
I can protect and unproject in Excel 2003. Does anyone have the proper
command structure for 2000. Help files were vague at best.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default .Net and Excel 2000 Protect

This works fine for me with Excel 2000/XP/2003

ws.Protect("",missing,missing,missing,true,true,tr ue,true,false,false,missin
g,false,false,missing,missing,missing);

where missing = System.Reflection.Missing.Value

HTH,
Nacho

"billS" wrote in message
...
I am trying to use the protect feature for a worksheet in 2000 from a .Net
application I am writing. I can unprotect it. But can not protect

worksheet.
I can protect and unproject in Excel 2003. Does anyone have the proper
command structure for 2000. Help files were vague at best.

Thanks



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i protect an Autofilter funtion on Excel 2000 Sincy Excel Worksheet Functions 1 June 17th 05 11:41 AM
How to protect a cell or rows with MS excel 2000 jack New Users to Excel 2 April 29th 05 05:15 AM
How can I protect cells in Excel 2000? Rajat Excel Worksheet Functions 1 April 22nd 05 05:28 AM
IN EXCEL 2000, HOW DO I PROTECT MULTIPLE WORKSHEET ME Excel Worksheet Functions 2 January 7th 05 04:22 PM
Excel 2000 Protect ... But Free Filter sal21[_11_] Excel Programming 1 February 20th 04 01:47 PM


All times are GMT +1. The time now is 03:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"