Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default macro to remove worksheet-level passwords

Hi,

Our workgroup recently standardized on a group password. The intent was for
group members to set the group password via tools/options/security, password
to modify, with the "read only recommended" box not checked. However, group
members are setting up passwords every which way, including setting
worksheet-level passwords. Can anyone suggest a macro routine that will open
the worksheet, remove all workhseet level passwords, and set the group
passowrd via tools/options security?

I know the group password, so I'm not looking for a password-cracking
routine; I just want something that will standardize the way we set up our
common password.

Thanks in advance for any help!

David
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default macro to remove worksheet-level passwords

Hi David,

To remove the sheet level passwords, see JE McGimpsey at:

http://www.mcgimpsey.com/excel/removepwords.html


---
Regards,
Norman


"DavidH" wrote in message
...
Hi,

Our workgroup recently standardized on a group password. The intent was
for
group members to set the group password via tools/options/security,
password
to modify, with the "read only recommended" box not checked. However,
group
members are setting up passwords every which way, including setting
worksheet-level passwords. Can anyone suggest a macro routine that will
open
the worksheet, remove all workhseet level passwords, and set the group
passowrd via tools/options security?

I know the group password, so I'm not looking for a password-cracking
routine; I just want something that will standardize the way we set up
our
common password.

Thanks in advance for any help!

David



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default macro to remove worksheet-level passwords

Hi Norman,

Thanks. It appears that McGimpsey's code is a password cracker, which I
don't really need. I'm assuming that users will open the workbook, enter the
password manually, then run the macro to remove worksheet-level protection.

"Norman Jones" wrote:

Hi David,

To remove the sheet level passwords, see JE McGimpsey at:

http://www.mcgimpsey.com/excel/removepwords.html


---
Regards,
Norman


"DavidH" wrote in message
...
Hi,

Our workgroup recently standardized on a group password. The intent was
for
group members to set the group password via tools/options/security,
password
to modify, with the "read only recommended" box not checked. However,
group
members are setting up passwords every which way, including setting
worksheet-level passwords. Can anyone suggest a macro routine that will
open
the worksheet, remove all workhseet level passwords, and set the group
passowrd via tools/options security?

I know the group password, so I'm not looking for a password-cracking
routine; I just want something that will standardize the way we set up
our
common password.

Thanks in advance for any help!

David




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default macro to remove worksheet-level passwords

Hi David,

Try:

'=============
Public Sub Tester2()
Dim SH As Worksheet
Const PWORD As String = "GROUP PASSWORD" '<<== CHANGE

For Each SH In ActiveWorkbook.Worksheets
SH.Unprotect Password:=PWORD
Next SH

End Sub
'<<=============


---
Regards,
Norman


"DavidH" wrote in message
...
Hi Norman,

Thanks. It appears that McGimpsey's code is a password cracker, which I
don't really need. I'm assuming that users will open the workbook, enter
the
password manually, then run the macro to remove worksheet-level
protection.

"Norman Jones" wrote:

Hi David,

To remove the sheet level passwords, see JE McGimpsey at:

http://www.mcgimpsey.com/excel/removepwords.html


---
Regards,
Norman


"DavidH" wrote in message
...
Hi,

Our workgroup recently standardized on a group password. The intent
was
for
group members to set the group password via tools/options/security,
password
to modify, with the "read only recommended" box not checked. However,
group
members are setting up passwords every which way, including setting
worksheet-level passwords. Can anyone suggest a macro routine that will
open
the worksheet, remove all workhseet level passwords, and set the group
passowrd via tools/options security?

I know the group password, so I'm not looking for a password-cracking
routine; I just want something that will standardize the way we set up
our
common password.

Thanks in advance for any help!

David






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default macro to remove worksheet-level passwords

Hi David,

Or, if you do not want to commit the password to code, try:

'=============
Public Sub Tester2A()
Dim SH As Worksheet
Dim PWORD As String

PWORD = InputBox("Insert password")

For Each SH In ActiveWorkbook.Worksheets
SH.Unprotect Password:=PWORD
Next SH

End Sub
'<<=============


---
Regards,
Norman



"Norman Jones" wrote in message
...
Hi David,

Try:

'=============
Public Sub Tester2()
Dim SH As Worksheet
Const PWORD As String = "GROUP PASSWORD" '<<== CHANGE

For Each SH In ActiveWorkbook.Worksheets
SH.Unprotect Password:=PWORD
Next SH

End Sub
'<<=============


---
Regards,
Norman


"DavidH" wrote in message
...
Hi Norman,

Thanks. It appears that McGimpsey's code is a password cracker, which I
don't really need. I'm assuming that users will open the workbook, enter
the
password manually, then run the macro to remove worksheet-level
protection.

"Norman Jones" wrote:

Hi David,

To remove the sheet level passwords, see JE McGimpsey at:

http://www.mcgimpsey.com/excel/removepwords.html


---
Regards,
Norman


"DavidH" wrote in message
...
Hi,

Our workgroup recently standardized on a group password. The intent
was
for
group members to set the group password via tools/options/security,
password
to modify, with the "read only recommended" box not checked. However,
group
members are setting up passwords every which way, including setting
worksheet-level passwords. Can anyone suggest a macro routine that
will
open
the worksheet, remove all workhseet level passwords, and set the group
passowrd via tools/options security?

I know the group password, so I'm not looking for a password-cracking
routine; I just want something that will standardize the way we set
up
our
common password.

Thanks in advance for any help!

David









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default macro to remove worksheet-level passwords

Norman,

Thanks so much, your code worked perfectly.

"Norman Jones" wrote:

Hi David,

Or, if you do not want to commit the password to code, try:

'=============
Public Sub Tester2A()
Dim SH As Worksheet
Dim PWORD As String

PWORD = InputBox("Insert password")

For Each SH In ActiveWorkbook.Worksheets
SH.Unprotect Password:=PWORD
Next SH

End Sub
'<<=============


---
Regards,
Norman



"Norman Jones" wrote in message
...
Hi David,

Try:

'=============
Public Sub Tester2()
Dim SH As Worksheet
Const PWORD As String = "GROUP PASSWORD" '<<== CHANGE

For Each SH In ActiveWorkbook.Worksheets
SH.Unprotect Password:=PWORD
Next SH

End Sub
'<<=============


---
Regards,
Norman


"DavidH" wrote in message
...
Hi Norman,

Thanks. It appears that McGimpsey's code is a password cracker, which I
don't really need. I'm assuming that users will open the workbook, enter
the
password manually, then run the macro to remove worksheet-level
protection.

"Norman Jones" wrote:

Hi David,

To remove the sheet level passwords, see JE McGimpsey at:

http://www.mcgimpsey.com/excel/removepwords.html


---
Regards,
Norman


"DavidH" wrote in message
...
Hi,

Our workgroup recently standardized on a group password. The intent
was
for
group members to set the group password via tools/options/security,
password
to modify, with the "read only recommended" box not checked. However,
group
members are setting up passwords every which way, including setting
worksheet-level passwords. Can anyone suggest a macro routine that
will
open
the worksheet, remove all workhseet level passwords, and set the group
passowrd via tools/options security?

I know the group password, so I'm not looking for a password-cracking
routine; I just want something that will standardize the way we set
up
our
common password.

Thanks in advance for any help!

David








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
Remove passwords from many workbooks [email protected] Excel Discussion (Misc queries) 4 December 14th 07 08:54 PM
how to open and remove passwords in bulk gordon Excel Discussion (Misc queries) 4 August 10th 07 04:46 PM
Multi-level passwords Todor Excel Discussion (Misc queries) 7 June 7th 05 06:36 PM
Can I create multi-level passwords for the same workbook waterskyle Excel Worksheet Functions 0 March 18th 05 07:51 PM
Run worksheet level macro in a macro Wandering Mage Excel Programming 2 September 16th 04 03:32 AM


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