Click to See Complete Forum and Search --> : opening a new word document if template is not present


reema_behl
January 4th, 2007, 02:30 AM
To open a new word document based on an existing template, we need to specify a value for the template argument of the Add method of the Documents collection. I m passing this value as "normal.dot". which is default template.If the template file (normal.dot) is saved in the UserTemplates path (C:\Documents and Settings\username\Application Data\Microsoft\Templates) the this add method works properly and opens a word doument.
My question is, is there any API which opens a word document even when normal.dot template file is not available or in other words any API available which takes care of creating a template file when the specified template file is not present?