Password protect problem

DSThomas

New Member
Joined
Apr 9, 2014
Messages
7
I have a file that was created i think with Excel 2003 or 2007, and i'm using 2010. When you open it, it automatically gives you a prompt for a password. I do know what the password is, BUT i need to change it for a different group so they don't have access to the other file.

It's not saved in the "Save As> Tools" nor is it the Encryption in "File> Permissions". There is a UserForm that comes up to take the password, but the Sub ends after that. I have looked through both modules and can't find that specific password in any of the code.

Any ideas?
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Sure! This is what leads into the userform that asks for the password:

Code:
Sheets("LOGIN").Visible = TrueSheets("HOME").Visible = xlVeryHidden
Sheets("MACRO").Visible = xlVeryHidden
Sheets("LOGIN").Select
ActiveWorkbook.Protect "welcome", Structure:=True, Windows:=True
Application.ScreenUpdating = True


UserForm5.Show


End Sub
 
Upvote 0
Is this all the code?
In your first post you refer to "both modules".
Isn't there anything else?
 
Upvote 0
There is a lot more code, but it's not relevant to this. it deals with the other facets of the file (running data, rosters, things like that)

i've done a search for the password in the modules thinking that might find it but it doesn't.
 
Upvote 0
Oh my dumb. So, I opened up the userform that takes the password, double clicked the "Ok" button, and changed the password there.

I feel really stupid. thanks all.
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,453
Members
448,967
Latest member
grijken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top