• Template Error in different directory (Word 2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Template Error in different directory (Word 2000)

    Author
    Topic
    #372063

    I created some macros. I put them in a template. I copy that templage to a different directory than ->application data->microsoft->templates. I received a security error when I accessed macros in the template and I could not get them to run. When I copied the themplate to the application data->microsoft->templates, I did not receive any error and everything worked fine.

    I want to know if it is possible to put templates to different directories or they have to be in application data->microsoft->templates. What can I do to run macros inside templates that are not in the default directory specified by microsoft?

    Viewing 0 reply threads
    Author
    Replies
    • #593545

      It sounds as though you have set your Macro Security setting to high. You have a number of choices to enable use of Macros…

      • Store your template in the templates folder and configure Macro Security to “Trust all installed add-ins and templates” (Tools > Macro > Security > Trusted Sources). This sounds like the method that you have found
      • Change Macro security settings to Medium. (Tools > Macro > Security > Security Level). This will give you a dialog box each time you open the template, you will be able to choose whether to trust the template.
      • Obtain a signing certificate and sign your Macros (VBE Editor > Digital Signature…). The first time anyone opens a template that you have signed they will be given an opportunity to add the signer as a trusted source (Tools > Macro > Security > Trusted Sources). This is the method that I prefer, but you may have to pay to get a certificate.
        [/list]StuartR
      • #593588

        Do I have to do all that if I install the templage from one machine to another? Is it possible to do programatically?

        • #593603

          I have found another way to make it work. I don’t know if it is normal to do that. What I did, I went to tools>file locations, then change the user tempates to the directory where my template is. Without doing any extra thing, my macros inside that templage run without problem. Will that cause any problem in for other user’s templage? Is that the proper way to do it? I can also change the workgroup template directory to refer to the directory where my template is. Doing so also works fine.

        • #593628

          You don’t have to do “all that”. You do have to do any one of the three things.

          Moving the word templates folder could cause problems if there are other installed templates. Why not just copy your template to the standard user templates folder?

          StuartR

          • #593631

            I am working in an installation to install the templage to different machines. For each machine, some of them 98/2000/NT, I will not know where normal.dot is. For that reason, it is better to install the template to a default directory.

            Another thing I can do, I think it is possible to determine in word where normal.dot is installed. If I know that, I can copy the tempate to that directory. The problem is to figure that directory before installation.

            I also want to know if I can go to options>file locations and tell Word, I have my template in 2 different directory. For example, where “normal.dot” is and another one names “test”

            • #593643

              You could try storing your template in the location pointed to by the “Workgroup Templates” option. By default this is blank, so you would need to modify it on each PC where you want to install your template.

              StuartR

    Viewing 0 reply threads
    Reply To: Template Error in different directory (Word 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: