Unlocking charts in Excel 2007

El Matarife

New Member
Joined
Mar 18, 2009
Messages
2
I have a workbook containing dynamic charts that are manipulated by Macro code. However, when you protect the worksheet that those charts are on, the code is no longer able to run. This is because the chart objects have been protected and can no longer be activated for editing.

In Excel 2003 I knew of 2 simple ways to solve this problem. Firstly: by selecting the chart in question > right click on the Chart Area > select Format Chart Area > Properties > uncheck "Locked" tick-box.

Secondly: by checking the "Edit Objects" and "Edit Scenarios" tick-boxes within the Tools > Protection > Protect Sheet dialogue box, prior to protecting the worksheet.

Performing either of these two procedures allowed my charts to continue to be manipulated by my Macro code, while the remainder of the worksheet was protected from editing by third parties.

But unfortunately neither of these solutions seem to work in Excel 2007. In Excel 2007 the "Format Chart Area" dialogue box does not contain a "Properties" tab, so there is no "Locked" option for me to deselect.

Also, despite checking the "Edit Objects" and "Edit Scenarios" tick-boxes in the "Protect Sheet" dialogue box, my Macro code is still unable to manipulate the charts and being is prevented from running by Excel. Contrary to what Microsoft imply under point 9 (Worksheet Elements) here: http://office.microsoft.com/en-us/excel/HA100968371033.aspx

So quite simply, how can I unlock my charts in Excel 2007, in order to allow them to continue to be manipulated by Macro code while applying protection to the rest of a worksheet?

Many thanks for any help!
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,203,462
Messages
6,055,563
Members
444,799
Latest member
CraigCrowhurst

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top