none
Word 2007 - Run-time error '6124'

    Question

  • We have files with macros configured... the users with administrator access can open the doc, enable macros, put a code received from sender of protected doc, and file decript and open the file normally...

    on a comon user, without admin rights, when the file is open, when the user select to open the window for enable macro, the error appear:


    Microsoft Visual Basic

    Run-time error '6124': You are not allowed to edit this selection because it is protected.

    We need the users can open this protected file type whitout problems, what is the procedure for that?

    Thanks.
    leosvi
    Thursday, May 06, 2010 6:45 PM

Answers

  • Hi,

    Go to Tools > Protect Document...
    And check out any protection that may be turned on. If not then it could be that the form is in design mode and not run mode when you are trying to run the macro code.

    Friday, May 07, 2010 3:43 AM