Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How about:
Worksheet("MySheet").ChartObjects("MyChart").Chart .Protect DrawingObjects:=True, Contents:=True -- * Please click Yes if this was helpful * Andy Smith Senior Systems Analyst Standard & Poor''s, NYC "Kevin" wrote: How do I completely lock down a chart embedded in a worksheet (not a chart sheet) in VBA to prevent changed through the UI? I have tried: Worksheet("MySheet").ChartObjects("MyChart").Chart .Protect Worksheet("MySheet").ChartObjects("MyChart").Prote ctChartObject = True Worksheet("MySheet").ChartObjects("MyChart").Enabl ed = False Worksheet("MySheet").ChartObjects("MyChart").Locke d = True I, of course, protected the worksheet itself also: Sheets("MySheet").Protect Password:="SecretWord", DrawingObjects:=True, Contents:=True, Scenarios:=True None of these steps seem to prevent me making changes to the format of the data series and legend. How do I lock down all of these items? Thanks, Kevin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting chart title from Embedded Excel Chart in PowerPoint | Excel Programming | |||
Protecting an Excel worksheet without locking the embedded scrollbar | Excel Discussion (Misc queries) | |||
Embedded Chart Versus Chart - ShowDetail Issue | Charts and Charting in Excel | |||
enabling chart events for an embedded chart | Excel Programming | |||
Protecting Embedded Spreadsheets in a Word Doc | Excel Programming |