Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Protecting worksheets with Macros in Shared Workbooks

Hi All,

I have a spreadsheet which has many worksheets and macros.

In general, the spreadsheet is protected.

However, in the spreadsheet there are macros that unprotect
worksheets, do tasks then reprotect.

I want to make it a shared workbook.

However, there seems to be a problem with the protection which is
something to do with the fact it is a shared workbook. Basically, i
get a message saying "unprotect method of worksheet class failed".

I am using the standard method:

ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True

What are the particulars of this and is there a way round it?

Please help.

DF.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Protecting worksheets with Macros in Shared Workbooks

See one reply at one of your other posts.


Dancing Fish wrote:

Hi All,

I have a spreadsheet which has many worksheets and macros.

In general, the spreadsheet is protected.

However, in the spreadsheet there are macros that unprotect
worksheets, do tasks then reprotect.

I want to make it a shared workbook.

However, there seems to be a problem with the protection which is
something to do with the fact it is a shared workbook. Basically, i
get a message saying "unprotect method of worksheet class failed".

I am using the standard method:

ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True

What are the particulars of this and is there a way round it?

Please help.

DF.


--

Dave Peterson

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
Macros in shared workbooks Very Basic User Excel Discussion (Misc queries) 4 September 14th 09 08:20 PM
Shared Workbooks-shared headers and footers Sherry New Users to Excel 1 June 13th 08 03:59 PM
Protecting a shared worksheet lostinformulas Excel Worksheet Functions 0 July 25th 06 11:31 PM
protecting shared workbook G Excel Discussion (Misc queries) 2 June 9th 06 04:37 PM
Macros with shared workbooks Frank Haverkamp[_4_] Excel Programming 1 February 13th 04 04:54 PM


All times are GMT +1. The time now is 11:11 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"