The exact error code is 4605 command not available.
Phil00;325336 Wrote:
> Alright, so im new to this whole macro thing in word. This document is
>
[quoted text clipped - 28 lines]
>
> or better still create your merge documents from normal.dot
If in the code, you have the command split across two rows, place the cursor
at the end of the first line and press delete, to get the command all on one
row.
Or, insert a Visual Basic line break character (space then underscore) as
follows
Set NewDoc = Documents.Add(Template:="D:\Word Templates _
Path\TemplateName.dot", Visible:=False)

Signature
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
> The exact error code is 4605 command not available.
>
[quoted text clipped - 31 lines]
>>
>> or better still create your merge documents from normal.dot
Phil00 - 13 Mar 2008 16:05 GMT
Hmm…the line of code that was given to me from Graham was on one line from
the start. I guess I do not fully understand this. It’s getting to be rather
frustrating. I created a template and put it in the template folder and
directed the path in that code to grab that .dot file, didn’t work. I then
directed that path to lead to a document used for the mail merge minus any
fields filled out or anything, it didn’t work. I’ve tried multiple
combinations. Of course I’m sure its, just a minor detail being overlooked.
Is there a way I could forward or post the file somewhere to get a second
opinion straight from you guys, the mvps?
Thanks again.
> If in the code, you have the command split across two rows, place the cursor
> at the end of the first line and press delete, to get the command all on one
[quoted text clipped - 41 lines]
> >>
> >> or better still create your merge documents from normal.dot
Phil00 - 13 Mar 2008 16:24 GMT
well i've made SOME progress now, for fun i changed the defualt font from
times new roman to arial narrow. That worked..although that cant be a
perminant fix becasue the font is suppose to chnageh throughout the document
i.e in the tables and titles etc.
Also for some reason it still inserts RANDOM page and section breaks making
my 2 page document into a 4 page document.
> If in the code, you have the command split across two rows, place the cursor
> at the end of the first line and press delete, to get the command all on one
[quoted text clipped - 41 lines]
> >>
> >> or better still create your merge documents from normal.dot
Graham Mayor - 13 Mar 2008 16:53 GMT
Send me a copy of the merge document (and a small sample of data - 2 or
three records) and I'll have a look at it tomorrow. Use the link on the home
page of my web site (and don't change the default subject).

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> well i've made SOME progress now, for fun i changed the defualt font
> from times new roman to arial narrow. That worked..although that cant
[quoted text clipped - 87 lines]
>>> --
>>> Phil W
Phil00 - 13 Mar 2008 19:02 GMT
Awsome, thanks Graham and Doug for your help. I've emailed the files to you
Graham, let me know if you don't get them or have another problem. (outside
of my problem because for that i cant help you haha)
> Send me a copy of the merge document (and a small sample of data - 2 or
> three records) and I'll have a look at it tomorrow. Use the link on the home
[quoted text clipped - 91 lines]
> >>> --
> >>> Phil W