Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
D.Parker
 
Posts: n/a
Default UserInterfaceOnly & Password Protection

Hello. I am reposting my question, asking it a different way. Is there a
way to use the UserInterfaceOnly in conjunction "with" a password? Such that
the user of the workbook cannot go to ToolsProtectionUnprotect Sheet and
start manipulating my work. Thank you.

Kind regards,

D.Parker
  #2   Report Post  
Paul B
 
Posts: n/a
Default

D, something like this, but worksheet passwords are very easy to break

Worksheets("sheet1").Protect password:="test", userInterfaceOnly:=True
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"D.Parker" wrote in message
...
Hello. I am reposting my question, asking it a different way. Is there a
way to use the UserInterfaceOnly in conjunction "with" a password? Such
that
the user of the workbook cannot go to ToolsProtectionUnprotect Sheet
and
start manipulating my work. Thank you.

Kind regards,

D.Parker



  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Ahhhh. I get the question now...

Just to add to Paul's response:

Option Explicit
Sub auto_open()
With Worksheets("sheet1")
.Protect Password:="hi", userinterfaceonly:=True
End With
End Sub

It needs to be reset each time you open the workbook. (excel doesn't remember
it after closing the workbook--hence the Auto_open procedure (or workbook_open
in the ThisWorkbook module.))

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

D.Parker wrote:

Hello. I am reposting my question, asking it a different way. Is there a
way to use the UserInterfaceOnly in conjunction "with" a password? Such that
the user of the workbook cannot go to ToolsProtectionUnprotect Sheet and
start manipulating my work. Thank you.

Kind regards,

D.Parker


--

Dave Peterson
  #4   Report Post  
D.Parker
 
Posts: n/a
Default

Thank you very much!!!!!!!!!

D.Parker

"Paul B" wrote:

D, something like this, but worksheet passwords are very easy to break

Worksheets("sheet1").Protect password:="test", userInterfaceOnly:=True
--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003


"D.Parker" wrote in message
...
Hello. I am reposting my question, asking it a different way. Is there a
way to use the UserInterfaceOnly in conjunction "with" a password? Such
that
the user of the workbook cannot go to ToolsProtectionUnprotect Sheet
and
start manipulating my work. Thank you.

Kind regards,

D.Parker




  #5   Report Post  
D.Parker
 
Posts: n/a
Default

Smile. Thank you, as well !!!!

Kind regards,

D.Parker

"Dave Peterson" wrote:

Ahhhh. I get the question now...

Just to add to Paul's response:

Option Explicit
Sub auto_open()
With Worksheets("sheet1")
.Protect Password:="hi", userinterfaceonly:=True
End With
End Sub

It needs to be reset each time you open the workbook. (excel doesn't remember
it after closing the workbook--hence the Auto_open procedure (or workbook_open
in the ThisWorkbook module.))

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

D.Parker wrote:

Hello. I am reposting my question, asking it a different way. Is there a
way to use the UserInterfaceOnly in conjunction "with" a password? Such that
the user of the workbook cannot go to ToolsProtectionUnprotect Sheet and
start manipulating my work. Thank you.

Kind regards,

D.Parker


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default UserInterfaceOnly & Password Protection

Quick question on this one - how do you break this kind of protection on a
workbook?

"D.Parker" wrote:

Smile. Thank you, as well !!!!

Kind regards,

D.Parker

"Dave Peterson" wrote:

Ahhhh. I get the question now...

Just to add to Paul's response:

Option Explicit
Sub auto_open()
With Worksheets("sheet1")
.Protect Password:="hi", userinterfaceonly:=True
End With
End Sub

It needs to be reset each time you open the workbook. (excel doesn't remember
it after closing the workbook--hence the Auto_open procedure (or workbook_open
in the ThisWorkbook module.))

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

D.Parker wrote:

Hello. I am reposting my question, asking it a different way. Is there a
way to use the UserInterfaceOnly in conjunction "with" a password? Such that
the user of the workbook cannot go to ToolsProtectionUnprotect Sheet and
start manipulating my work. Thank you.

Kind regards,

D.Parker


--

Dave Peterson

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default UserInterfaceOnly & Password Protection

Ask the developer for the password is one way.

acyakos wrote:

Quick question on this one - how do you break this kind of protection on a
workbook?

"D.Parker" wrote:

Smile. Thank you, as well !!!!

Kind regards,

D.Parker

"Dave Peterson" wrote:

Ahhhh. I get the question now...

Just to add to Paul's response:

Option Explicit
Sub auto_open()
With Worksheets("sheet1")
.Protect Password:="hi", userinterfaceonly:=True
End With
End Sub

It needs to be reset each time you open the workbook. (excel doesn't remember
it after closing the workbook--hence the Auto_open procedure (or workbook_open
in the ThisWorkbook module.))

If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

D.Parker wrote:

Hello. I am reposting my question, asking it a different way. Is there a
way to use the UserInterfaceOnly in conjunction "with" a password? Such that
the user of the workbook cannot go to ToolsProtectionUnprotect Sheet and
start manipulating my work. Thank you.

Kind regards,

D.Parker

--

Dave Peterson


--

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
Forgot the protection password ALex Excel Discussion (Misc queries) 2 April 14th 05 02:09 PM
Password protection for Excel sheets Alejandro Excel Discussion (Misc queries) 2 April 13th 05 03:33 PM
Changing password protection on sheets Tom Hewitt Excel Discussion (Misc queries) 5 February 25th 05 03:33 PM
How to define separate Password Protection, to say 3 persons, for. Sreeraman Thillaisthanam Seshadri Excel Worksheet Functions 1 December 17th 04 09:15 AM
Password protection andy Excel Discussion (Misc queries) 1 December 7th 04 02:51 PM


All times are GMT +1. The time now is 12:48 PM.

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

About Us

"It's about Microsoft Excel"