ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Enable users to edit charts on a protected worksheet (https://www.excelbanter.com/excel-programming/413699-enable-users-edit-charts-protected-worksheet.html)

[email protected]

Enable users to edit charts on a protected worksheet
 
Hi,

I have a worksheet where I need to protect from users editing the
content. However, I would like the user to format the excel charts
within the workheet, i.e. they can copy the charts, change the sizes
and also re-format.

I have used this VB code to protect my worksheets in the past. Is
there a way of amending this code to also enable the users to edit
charts?

Sheet1.Protect Password:="password", DrawingObjects:=True, _
contents:=True, Scenarios:=True, _
userinterfaceonly:=True
Sheet1.EnableAutoFilter = True
Sheet1.EnableOutlining = True

Thanks for your help!!

[email protected]

Enable users to edit charts on a protected worksheet
 
On Jul 8, 9:48*pm, wrote:
Hi,

I have a worksheet where I need to protect from users editing the
content. However, I would like the user to format the excel charts
within the workheet, i.e. they can copy the charts, change the sizes
and also re-format.

I have used this VB code to protect my worksheets in the past. Is
there a way of amending this code to also enable the users to edit
charts?

Sheet1.Protect Password:="password", DrawingObjects:=True, _
* * * * contents:=True, Scenarios:=True, _
* * * * userinterfaceonly:=True
*Sheet1.EnableAutoFilter = True
*Sheet1.EnableOutlining = True

Thanks for your help!!


Can anyone please help me with my question???

Dave Peterson

Enable users to edit charts on a protected worksheet
 
I didn't test this, but it won't take too long for you to try protecting the
worksheet with DrawingObjects:=false.



wrote:

Hi,

I have a worksheet where I need to protect from users editing the
content. However, I would like the user to format the excel charts
within the workheet, i.e. they can copy the charts, change the sizes
and also re-format.

I have used this VB code to protect my worksheets in the past. Is
there a way of amending this code to also enable the users to edit
charts?

Sheet1.Protect Password:="password", DrawingObjects:=True, _
contents:=True, Scenarios:=True, _
userinterfaceonly:=True
Sheet1.EnableAutoFilter = True
Sheet1.EnableOutlining = True

Thanks for your help!!


--

Dave Peterson

[email protected]

Enable users to edit charts on a protected worksheet
 
On Jul 10, 9:39*pm, Dave Peterson wrote:
I didn't test this, but it won't take too long for you to try protecting the
worksheet with DrawingObjects:=false.





wrote:

Hi,


I have a worksheet where I need to protect from users editing the
content. However, I would like the user to format the excel charts
within the workheet, i.e. they can copy the charts, change the sizes
and also re-format.


I have used this VB code to protect my worksheets in the past. Is
there a way of amending this code to also enable the users to edit
charts?


Sheet1.Protect Password:="password", DrawingObjects:=True, _
* * * * contents:=True, Scenarios:=True, _
* * * * userinterfaceonly:=True
*Sheet1.EnableAutoFilter = True
*Sheet1.EnableOutlining = True


Thanks for your help!!


--

Dave Peterson- Hide quoted text -

- Show quoted text -


Thanks for replying!
That worked!!


All times are GMT +1. The time now is 02:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com