Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / January 2006

Tip: Looking for answers? Try searching our database.

Excel Work Sheet Protect

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kev - 24 Jan 2006 13:01 GMT
Hi

Can anyone help.  Is there code to protect a worksheet using the Version
of VBA that comes along with Office/Excel 97.  I understand that with
later versions the follwing would work.

Sheets("Sheet1").Protect password:="anything"

but is there something similar in 97 Version.

Regards Kev
Shailesh Shah - 24 Jan 2006 13:21 GMT
The same code works in 97 too.

Regards,
Shah Shailesh
http://in.geocities.com/shahshaileshs/
(Excel Add-ins Page)
Kev - 24 Jan 2006 14:36 GMT
Hi
thanks for your reply, doesent work in the copy that I have.

Returns a Run-time error 1004, Protection class failed.

regards Kev
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.