One thing's for sure. Use this as an opportunity to learn from. Document everything - document your code, save the password somewhere - in a corporate environment, no one person should know the only password for anything, in case that person ever leaves - voluntarily or not.
Otherwise, you'd have to look for some work arounds like you were asking about. I'd imagine there may be a way, though I've never tried for a Word form. You could try looking around at VBA options... if there are any, Google will be your friend (at least for now).
--
"If to err is human, then I must be some kind of human!" -Me
There are no legitimate VBA options to unprotect a protected document for forms. I agree with kjv, hopefully use this as a corporate lesson. ANY corporate file should require a corporate storage of passwords, separately stored.
While there are "crack" solutions for breaking passwords to access a Word file, this is different from the password for protecting a file for forms. There may indeed be crack solutions out there for this as, essentially. it is the same problem. These solutions basically use a brute force method.
I would agree with your thought of re-creating the file.
Thank you all for your information.
I'm busy to create a new form with additional options, but it would have been nice if I could use the setup that already was available.
But now I can design it the way I like.
I don't know if MS changed protection in word 2007, but the security it a shame in earlier word versions. Just try to save your document as web page, save another document with locked form (no password) and compare both in notepad.
Well, security has changed in 2007, and protection for forms also changed in 2007 SP2. Protection for Forms is still trivial, though, and not even Microsoft claim it to be a security feature.
As for comparing Word Documents in Notepad, I'm not sure what you are suggesting there.
Enjoy,
Tony
------------------------------------------------------------------------------------ We want to help you; help us to do it by reading this:Before you ask a question.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.