Forum Discussion

scarroll2's avatar
scarroll2
Copper Contributor
Feb 06, 2023

Templates in Word Startup Folder are not loading

Hi!

 

We have a custom word template that is copied to every users's %appdata%\Microsoft\Word\Startup folder.   There also also vendor provided templates in that folder for a couple of our applications (Worldox, compareDocs)

 

For some users, the templates in the Startup folder will not load.   All of these templates should add a tab to the ribbon in Word.  There seems to be no pattern regarding OS build or Office build regarding whether the templates load for a particular user or not.  

 

We have checked and the templates are in the Startup folder and that folder is a trusted location.

For some users, the templates will show up as inactive.  You can make them active, however, the setting does not persist.  After closing Word and reopening, the templates are inactive again.

 

For other users, the templates do not show up in the list at all (as either active, inactive, or disabled).

 

For another group of users, everything works as expected.

 

We also have a Remote Desktop farm, and the templates don't load for one group of users, but load correctly for the rest of the users in the organization. 

 

Any ideas where else we can look to troubleshoot this issue?

 

  • Charles_Kenyon's avatar
    Charles_Kenyon
    Bronze Contributor

    scarroll2The location of the Startup Folder can be customized. In addition, there is a second Office Startup folder that can be used. See my page on this: Startup Folder. I do not know why you are seeing this behavior. I generally load about 30 Add-Ins on my personal machine.

    • scarroll2's avatar
      scarroll2
      Copper Contributor
      Thanks Charles.

      We figured out one of the issues we were having. WE are going to work with the affected users to customize the Startup Folder location and see if that resolves their problems.

      • Charles_Kenyon's avatar
        Charles_Kenyon
        Bronze Contributor

        scarroll2 

        Here are some of the macros I used to discover or install in the Word StartUp folder. At least one of them is more than 20 years old.

         

        Sub StartUpOpenStartupPath()
        ' Opens Windows Explorer window for Startup Folder
        ' Charles Kyle Kenyon 2018-02-14
        '
        Shell "explorer " & Application.StartupPath

        End Sub

         

        Sub ShowWorkGroupFolder()
        '
        ' ShowWorkGroupFolder Macro
        ' Macro written 11/04/2000 by Charles K. Kenyon
        ' Displays currently set WorkGroup Folder location for application
        '
        ' If this is being run with the file containing the code as the Active Document,
        ' it will further instruct the user that the
        ' startup folder is the location to hold this file.
        ' Otherwise, it just gives the information.
        '
        On Error GoTo ErrorHandler
        '
        Selection.Collapse ' to keep from deleting macrobutton by a keypress after running macro
        '
        '
        '
        MsgBox Prompt:="Your WorkGroup Templates Folder location is " & _
        Options.DefaultFilePath(wdWorkgroupTemplatesPath), Buttons:=vbOKOnly, _
        title:="Current WorkGroup Templates Folder Setting Information"
        '

        On Error GoTo -1
        Exit Sub
        '
        ErrorHandler: ' No Workgroup Templates Folder Loctation set
        MsgBox Prompt:="The location of the WorkGroup Templates Folder has not been set on this Computer." _
        & Chr(13) & Chr(10) & Chr(13) & Chr(10) & _
        "You can set a folder location now.", _
        title:="No WorkGroup Templates Folder Location Set", _
        Buttons:=vbInformation

        Dialogs(wdDialogToolsOptionsFileLocations).Show
        On Error GoTo -1
        End Sub
        ' ==========================================================================
        Sub StartupShowStartUpPath()
        ' Macro written by Charles Kenyon 2014-02-25
        ' Shows setting for Startup Folder location in Microsoft Word in a message box.
        '
        MsgBox _
        Prompt:="Your StartUp folder location is " & Application.StartupPath & _
        "." & Chr(13) & Chr(10) & Chr(13) & Chr(10) & ".", _
        Buttons:=vbOKOnly, _
        title:="Current Startup Folder Setting Information"

        ' See also StartupOpenStartupPath
        ' Shell "explorer " & Application.StartupPath
        '
        End Sub

         

        Sub TemplatesPathIsMacro()
        '
        ' TemplatesPathIsMacro Macro
        ' Macro written 3 December 2001 by Charles Kyle Kenyon
        '
        Dim sUserTemplatesLocation As String
        Dim sWorkgroupTemplatesLocation As String
        Dim sStartUpTemplatesLocation As String
        '
        sUserTemplatesLocation = Options.DefaultFilePath(wdUserTemplatesPath) & "\"
        sWorkgroupTemplatesLocation = Options.DefaultFilePath(wdWorkgroupTemplatesPath) & "\"
        sStartUpTemplatesLocation = Options.DefaultFilePath(wdStartupPath) & "\"
        '
        MsgBox Prompt:="The user templates are in:" & vbCrLf _
        & sUserTemplatesLocation & vbCrLf & vbCrLf _
        & "The Workgroup Templates are in:" & vbCrLf _
        & sWorkgroupTemplatesLocation & vbCrLf & vbCrLf _
        & "The Startup (Add-In) Templates are in:" & vbCrLf _
        & sStartUpTemplatesLocation, _
        title:="Templates location settings"
        End Sub

         

        Sub InstallAddIn()
        ' Saves the template containing code in user's startup folder
        ' User must allow running of macro
        ' written by Charles Kenyon December 5, 2016
        ' https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-msoffice_custom/how-to-install-a-word-template-add-in-for-all/f41f816c-1c71-47ae-a570-519eff6bde07
        '
        Dim strStartup As String
        strStartup = Application.StartupPath
        ThisDocument.SaveAs2 (strStartup & "\" & ThisDocument.Name)
        End Sub

         

         

         

Resources