Prev: Word VBA code runs fine under XP but does not in Server 2008 VDI
Next: How do I enter a field with the current time + six hours?
From: Joe Bedics on 15 Jan 2010 15:33 In Word, I'm using Word's native new document functionality. We have created folders with templates that are displayed when I click File > New. The GENERAL folder contains the the templates we want to use. GENERAL is the default. In my folder list I also have a "General" folder which contains a blank document, XML, Outlook message and web page. How can I remove or hide the General folder? Is there a registry key setting? General does not exist on the hard drive. Thank you. Joe Bedics -- IT Manager The Segal Company
From: Graham Mayor on 16 Jan 2010 08:46
I guess this is Word 2003? General is the default user templates folder. It is a system folder and cannot be hidden from Word. What you could do is rename your personal General folder to something different e.g. Company Templates then intercept the file new command to open that folder instead of General. The default User Templates Folder is a hidden folder and can be found by entering - %appdata%\Microsoft\Templates in the address bar of Windows Explorer or your browser. This does not work if you have changed the user templates folder from Word options. The tabs across the top of the File New dialog should be in alphabetical order albeit with General first. The following macro assumes that General is first and Company Templates is the second tab. If it is not the second tab you will need to modify the sendkeys command to select the correct tab e.g. for the second Tab after General change the line to SendKeys "^{TAB 2}{DOWN}" When the FileNewDialog command is executed your Company Templates folder is opened and the first template selected. Sub FileNewDialog() SendKeys "^{TAB}{DOWN}" With Dialogs(wdDialogFileNew) .Show End With End Sub You can replace the FileNew command on the toolbar with FileNewDialog -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "Joe Bedics" <JoeBedics(a)discussions.microsoft.com> wrote in message news:6ACAB4D5-607F-43FB-BAA4-37DB7C09DF20(a)microsoft.com... > In Word, I'm using Word's native new document functionality. We have > created > folders with templates that are displayed when I click File > New. > > The GENERAL folder contains the the templates we want to use. GENERAL is > the > default. > > In my folder list I also have a "General" folder which contains a blank > document, XML, Outlook message and web page. > > How can I remove or hide the General folder? Is there a registry key > setting? General does not exist on the hard drive. > > Thank you. > > Joe Bedics > > > -- > IT Manager > The Segal Company |