April 2006
Beginner
1114 pages
98h 16m
English
chart.UnProtect([Password])
Removes protection from a chart. Does not affect the ProtectData, ProtectGoalSeek, or ProtectSelection settings of a chart. Those properties must be reset individually. The following code removes all protections from a chart:
Set chrt = ThisWorkbook.Sheets("Protected Chart")
chrt.Unprotect "Excel2003"
chrt.ProtectData = False
chrt.ProtectGoalSeek = False
chrt.ProtectSelection = FalseRead now
Unlock full access