Protect UserInterface VS Protect/Unprotect

D

Desert Piranha

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
 
T

Tom Ogilvy

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

Desert Piranha

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 said:
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"
message
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top