Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Protect UserInterface VS Protect/Unprotect


Hi all,

Senero 1 - On workbook open use 'UserInterfaceOnly:=True'

Senero 2 - In each macro use 'Unprotect' at start, and 'Protect' a
ending.

Pro's and Con's of using each senero?
Why use one senero over the other?
Instances where one senero should be used over the other?
Thoughts on both ways

--
Desert Piranh

-----------------------------------------------------------------------
Desert Piranha's Profile: http://www.excelforum.com/member.php...fo&userid=2893
View this thread: http://www.excelforum.com/showthread.php?threadid=50665

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Protect UserInterface VS Protect/Unprotect

Using UserInterfaceOnly:=True does not unprotect the workbook

in xl2002,xl2003, you have to supply the password in your code - but that
would be true for either method.

UserInterfaceOnly:=True still has some limitations on what you can do as I
recall, although I can't think of anything off hand.

--
Regards,
Tom Ogilvy




"Desert Piranha"
<Desert.Piranha.22hevz_1138681801.9505@excelforu m-nospam.com wrote in
message news:Desert.Piranha.22hevz_1138681801.9505@excelfo rum-nospam.com...

Hi all,

Senero 1 - On workbook open use 'UserInterfaceOnly:=True'

Senero 2 - In each macro use 'Unprotect' at start, and 'Protect' at
ending.

Pro's and Con's of using each senero?
Why use one senero over the other?
Instances where one senero should be used over the other?
Thoughts on both ways?


--
Desert Piranha


------------------------------------------------------------------------
Desert Piranha's Profile:

http://www.excelforum.com/member.php...o&userid=28934
View this thread: http://www.excelforum.com/showthread...hreadid=506654



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Protect UserInterface VS Protect/Unprotect


Hi Tom,

Thx for your input. So it appears that it would be a better practice to
use
unprotect/protect in code, rather than the UserInterfaceOnly.

Dave

Tom Ogilvy Wrote:
Using UserInterfaceOnly:=True does not unprotect the workbook

in xl2002,xl2003, you have to supply the password in your code - but
that
would be true for either method.

UserInterfaceOnly:=True still has some limitations on what you can do
as I
recall, although I can't think of anything off hand.

--
Regards,
Tom Ogilvy




"Desert Piranha"
<Desert.Piranha.22hevz_1138681801.9505@excelforu m-nospam.com wrote in
message
news:Desert.Piranha.22hevz_1138681801.9505@excelfo rum-nospam.com...

Hi all,

Senero 1 - On workbook open use 'UserInterfaceOnly:=True'

Senero 2 - In each macro use 'Unprotect' at start, and 'Protect' at
ending.

Pro's and Con's of using each senero?
Why use one senero over the other?
Instances where one senero should be used over the other?
Thoughts on both ways?


--
Desert Piranha



------------------------------------------------------------------------
Desert Piranha's Profile:

http://www.excelforum.com/member.php...o&userid=28934
View this thread:

http://www.excelforum.com/showthread...hreadid=506654



--
Desert Piranha


------------------------------------------------------------------------
Desert Piranha's Profile: http://www.excelforum.com/member.php...o&userid=28934
View this thread: http://www.excelforum.com/showthread...hreadid=506654

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
Protect, unprotect Pyrite Excel Discussion (Misc queries) 0 August 15th 08 03:18 PM
protect and unprotect Andrew[_51_] Excel Programming 1 October 13th 05 07:24 PM
protect and unprotect Andrew[_51_] Excel Programming 2 October 13th 05 06:44 PM
Unprotect and protect.... Wilfrid Excel Programming 1 July 28th 04 03:13 AM
Thanks Otto.......Unprotect and re-Protect CLR Excel Programming 1 May 31st 04 06:43 AM


All times are GMT +1. The time now is 05:52 AM.

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"