• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Working with Charts(unlocked) in protected worksheet

nagovind

Member
I have a XY scatter chart
Properties Locked = Unticked
Worksheet protected with a password
While running the VBA if we try to change the chart properties through VBA, we need to unprotect sheet by supplying password inside the VBA to do the changes in the Chart then after again protecting the sheet in VBA
This process is time consuming and shows more delay

How to work with chart properties in protected worksheet through VBA
 
@vletm
Is this the one?

For Each i In ActiveSheet.ChartObjects
i.Chart.ProtectSelection = False
i.Chart.ProtectData = True
i.Chart.ProtectFormatting = True
Next i
 
nagovind
I asked question from You...
I cannot know
have You tested something
if You won't answer.

Many things depends of settings and what will You do, especially while use protection.
 
Back
Top