PC Review


Reply
Thread Tools Rate Thread

Allow Edit Objects in protected sheets

 
 
Roger on Excel
Guest
Posts: n/a
 
      5th Aug 2008
I use code to lock multiple sheets.

I need to be able to allow the pasting/editing of objects in my protected
sheets.

Does anyone have the code to do this.

For example I use

AllowFormattingCells:=True
and
AllowFormattingRows:=True

to enable other options in protected sheets.

I find that AllowEditObjects:=True doesnt work.

Can anyone help?

Thanks,

Roger
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      5th Aug 2008
The macro recorder is your friend

ActiveSheet.Protect DrawingObjects:=False


Gord Dibben MS Excel MVP

On Mon, 4 Aug 2008 17:40:00 -0700, Roger on Excel
<(E-Mail Removed)> wrote:

>I use code to lock multiple sheets.
>
>I need to be able to allow the pasting/editing of objects in my protected
>sheets.
>
>Does anyone have the code to do this.
>
>For example I use
>
>AllowFormattingCells:=True
>and
>AllowFormattingRows:=True
>
>to enable other options in protected sheets.
>
>I find that AllowEditObjects:=True doesnt work.
>
>Can anyone help?
>
>Thanks,
>
>Roger


 
Reply With Quote
 
Roger on Excel
Guest
Posts: n/a
 
      5th Aug 2008
Thanks again Gord,

By the way i tried to make pivot table active by using the recorder to
generate code for me, but it doesnt seem to work.

Do you have any advice on getting pivot tables to work on protected sheets
using code?

Best regards,

Roger



"Gord Dibben" wrote:

> The macro recorder is your friend
>
> ActiveSheet.Protect DrawingObjects:=False
>
>
> Gord Dibben MS Excel MVP
>
> On Mon, 4 Aug 2008 17:40:00 -0700, Roger on Excel
> <(E-Mail Removed)> wrote:
>
> >I use code to lock multiple sheets.
> >
> >I need to be able to allow the pasting/editing of objects in my protected
> >sheets.
> >
> >Does anyone have the code to do this.
> >
> >For example I use
> >
> >AllowFormattingCells:=True
> >and
> >AllowFormattingRows:=True
> >
> >to enable other options in protected sheets.
> >
> >I find that AllowEditObjects:=True doesnt work.
> >
> >Can anyone help?
> >
> >Thanks,
> >
> >Roger

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grouping with protected sheets (multiple sheets) Krista Microsoft Excel Misc 0 28th Oct 2009 01:28 PM
Edit text format in non-protected cells in protected worksheet Bonnie Microsoft Excel Misc 1 19th Apr 2008 04:48 PM
Protected Sheets Jeanne724 Microsoft Excel Misc 2 18th Mar 2008 06:37 PM
How do you edit or delete objects in Insert Objects box in Word? =?Utf-8?B?Qm9iIFQ=?= Microsoft Word Document Management 1 6th Nov 2007 01:46 PM
Macro for filter on protected workbook that works for all sheets, no matter what sheets are named? StargateFanFromWork Microsoft Excel Programming 6 26th Jan 2006 06:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:04 AM.