Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Allow Edit Objects in protected sheets

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Allow Edit Objects in protected sheets

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
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Allow Edit Objects in protected sheets

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
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sheet Protection / Edit Objects Keyrookie Excel Worksheet Functions 0 December 7th 09 03:44 PM
Sheet Protection / Edit Objects Keyrookie Excel Worksheet Functions 0 December 5th 09 03:38 AM
Edit text format in non-protected cells in protected worksheet Bonnie Excel Discussion (Misc queries) 2 April 19th 08 04:48 PM
Allow users to edit ranges for VBA objects Jeff Excel Worksheet Functions 6 June 29th 06 11:08 PM
I can't select/edit objects. It says [Group] on the header bar. Tomba Excel Discussion (Misc queries) 2 March 30th 06 12:09 PM


All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"