Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
I have an application which creates Word documents from a access table using Visual Basic commands.
I open a Word Document Template. Perform calls to move data into bookmarks and save the document (with a unique name) as a .DOC type My problem is that when I attach the .DOC to an EMail and the receiver try's to open the .DOC it seems to of carried over the template style and is asking to open an SQL command. How do I create the Word Document without any reference to a template. |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Was the document at some time a mailmerge main document?
Of course, you should not be opening the template. You should select New from the File Menu and the select the template as the basis for the document that you want to create. Or using code, you would use Documents.Add("TemplatePath\Name") not Documents.Open("TemplatePath\Name") -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "gordheck" wrote in message ... I have an application which creates Word documents from a access table using Visual Basic commands. I open a Word Document Template. Perform calls to move data into bookmarks and save the document (with a unique name) as a .DOC type My problem is that when I attach the .DOC to an EMail and the receiver try's to open the .DOC it seems to of carried over the template style and is asking to open an SQL command. How do I create the Word Document without any reference to a template. -- gordheck |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hiding Documents from Templates | Microsoft Word Help | |||
Templates not opening as templates as word documents | Microsoft Word Help | |||
Word documents-templates | Microsoft Word Help | |||
Templates saved as Documents | Microsoft Word Help | |||
Opening templates as documents | Microsoft Word Help |