Microsoft KB Archive/145092

= Can't Dimension File New Dialog to Specify a Default Template =

Article ID: 145092

Article Last Modified on 8/17/2005

-

APPLIES TO


 * Microsoft Word 95 Standard Edition

-



This article was previously published under Q145092



SYMPTOMS
You cannot use WordBasic to display the File New dialog box with a default template other than Blank Document. This functionality is different from previous versions of Word.



STATUS
Microsoft has confirmed this to be a problem in Microsoft Word for Windows 95. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



WORKAROUND
You can work around this problem by using a macro that selects a specific template. The following macro example opens a new document based on the Test template. Sub Main FileNew .Template="Test", .NewTemplate=0 End Sub



MORE INFORMATION
In Word 6.0, the following macro opens the File New dialog box and sets TEST.DOT as the default template. Sub Main Dim Dlg As FileNew GetCurValues dlg dlg.Template = "test.dot" If Dialog(dlg) Then FileNew dlg End Sub

Additional query words: 7.0 word95 word7

Keywords: KB145092

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.