Consulting

Results 1 to 11 of 11

Thread: Help!! Got a little trigger-happy with the mouse!!

  1. #1
    VBAX Regular
    Joined
    May 2004
    Location
    Driffield, East Yorkshire, Egnland
    Posts
    69
    Location

    Help!! Got a little trigger-happy with the mouse!!

    Hi folks

    Just done something stoooopid... just accidentally locked a mini VB app in word, with no password. Every time I try to view the modules now I get "Project Unviewable" error message.

    Haylp!! Can I recover the code?

    Ad

  2. #2
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    You can't view it with VBA. Can you export it and import it into VB?

  3. #3
    VBAX Regular
    Joined
    May 2004
    Location
    Driffield, East Yorkshire, Egnland
    Posts
    69
    Location
    I don't have VB...

    Ah well. Never mind, guess it's back to re-coding then!

    Thanks anyway

    Ad

  4. #4
    VBAX Tutor
    Joined
    May 2004
    Location
    Germany, Dresden
    Posts
    217
    Location
    How did you do this? I know people who would kill (ok, maybe just hurt) someone to get a project unviewable (NOT just locked) without sharing the document.

  5. #5
    VBAX Regular
    Joined
    May 2004
    Location
    Driffield, East Yorkshire, Egnland
    Posts
    69
    Location
    I don't actually know. That's the worrying thing!!

    Ad

  6. #6
    VBAX Master TonyJollans's Avatar
    Joined
    May 2004
    Location
    Norfolk, England
    Posts
    2,291
    Location
    "Project unviewable" isn't a security feature.

    What are we looking at here? - a document? a template?

    And when you say VB do you mean VBA?
    Enjoy,
    Tony

    ---------------------------------------------------------------
    Give a man a fish and he'll eat for a day.
    Teach him how to fish and he'll sit in a boat and drink beer all day.

    I'm (slowly) building my own site: www.WordArticles.com

  7. #7
    VBAX Regular JOrzech's Avatar
    Joined
    Jun 2004
    Location
    Upstate New York
    Posts
    83
    Location

    What do you mean?

    You say:

    I don't have VB
    But all Office apps have VBA. Open the document, press Alt F11, View Project Explorer, right click on your project, go to Properties, Protection. See if it's locked.
    Joanne

  8. #8
    VBAX Regular
    Joined
    Oct 2006
    Posts
    30
    Location
    there are products online to open and unlock and get password of vba projects. try googling it.

  9. #9
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    I am not understanding this.

    "locked a mini VB app in word, with no password." Does not make any sense.

    If there is no password project protection, then you should be able to see it. You will NOT see it (getting a "project unviewable" message) if it is in a template and that template file itself is not open.

    So I have no idea what you mean by "locked" a mini-app in Word....with no password. Does not make sense.

  10. #10
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    From what I've learned in the word forum....I believe Gerry is on the right track.. If it was password protected you would be prompted for a password...
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  11. #11
    VBAX Wizard
    Joined
    May 2004
    Posts
    6,713
    Location
    But he states "accidentally locked a mini VB app in word, with no password". So....huh?

    Project Unviewable seems to me that the code modules are in a global template (.dot), and that file is NOT open. That is what happens. You can not view code modules of a global template file unless that file is open.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •