Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Workbook Protection

[ActiveWorkbook.Protect]

Has anyone noticed that the code above simply toggles
workbook protection on and off? In my application, the
execution of this line of code protects the workbook
every other time.

J Lenz


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Workbook Protection

I never noticed that but I don't think I ever use it without arguments:

ActiveWorkbook.Protect , True, True

I guess you should too to be guaranteed the result you want.

--
Jim Rech
Excel MVP


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
Workbook protection Sri Harsha[_2_] Excel Discussion (Misc queries) 1 February 25th 09 01:02 PM
workbook protection jolowe Excel Worksheet Functions 3 June 8th 08 07:35 PM
workbook protection Daniel Excel Discussion (Misc queries) 1 July 26th 07 09:12 AM
Workbook protection Bonbon Excel Worksheet Functions 8 April 27th 06 01:54 PM
workbook protection John New Users to Excel 1 January 22nd 05 12:55 PM


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