Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a chart in a sheet that I wish to protect. Some of the cells, data
and control input, are obviously unprotected. As a consequence of the data and control input the chart needs to have ranges added or deleted. With an unprotected worksheet this works fine, but the line: ActiveSheet.ChartObjects("Chart 6").Activate fails when the worksheet is protected. I have looked at the properties of the Activesheet and although there are a number of .Protection variables I unable to find a combination that allows the changes I require. Any help gratefully accepted. Peter |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
When you protect the sheet, don't protect objects.
also make sure the chart is actually named Chart 6 -- Regards, Tom Ogilvy "Peter M" wrote in message ... I have a chart in a sheet that I wish to protect. Some of the cells, data and control input, are obviously unprotected. As a consequence of the data and control input the chart needs to have ranges added or deleted. With an unprotected worksheet this works fine, but the line: ActiveSheet.ChartObjects("Chart 6").Activate fails when the worksheet is protected. I have looked at the properties of the Activesheet and although there are a number of .Protection variables I unable to find a combination that allows the changes I require. Any help gratefully accepted. Peter |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Tom, Many thanks, chart now works as expected. For some reason I couldn't find the reply on the bulletin board and was only aware of your reply through Developersdex. Again, many thanks. Peter *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Format changing in protected cell | Excel Discussion (Misc queries) | |||
Changing Font in an unlocked cell in a protected sheet. | Excel Discussion (Misc queries) | |||
Changing font color of protected cells programatically | Excel Discussion (Misc queries) | |||
Sheet Information - Is sheet protected? | Excel Discussion (Misc queries) | |||
changing a password protected file | Excel Discussion (Misc queries) |