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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Protection in Excel 2002 not works for <2002 1

Status
Not open for further replies.

xlStar

Technical User
Nov 16, 2003
55
GB
Hello there.

This VBA scripts in Excel 2002 doesn't seems to work for people with Excel 2000 or earlier.

ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, AllowFormattingRows:=True, AllowFiltering:=True

How can I overcome this, i.e the user should be allows to use the AutoFilter but I can't find a way to make the VBA adaptable for both Excel 2000 and 2002.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top