Alan
Fri Jun 20 04:45:00 PDT 2008
Cindy
Sorry I dont mean to be obtuse and I am by no means an expert with Office or
VBA
I am using office suite 2003
I have created a word template which contains 2 tables.
Both of these are referenced from access to the template and updated using
the VBA
objWord.Documents(1).Variables("varDept") etc
Both tables grow as I loop through the entires in the Access query and enter
a carriage return to provide a paragraph/list type value to be entered as the
variable
viz:
strDept = strDept & .Fields("Department") & Chr$(11)
This presents in the table the way I want it to, but the first table does
not "push" the second table down automatically as I thought it would
I hav no formatting in my code and do not use the Tables.Add method you
describe, but clearly there is another option
I hope this clarifies where I am at and I am very much obliged for any
assistance you can provide
--
Many Thanks
Alan
"Cindy M." wrote:
> Hi =?Utf-8?B?QWxhbg==?=,
>
> > I hope this makes sense
> >
> It's not telling me what I want to know (what I suspect is
> happening). You also don't give us any information about
> the version of Word involved.
>
> What I'm really interested in is the Tables.Add method (the
> parameters used) and any formatting you do to the Table
> (positioning kind of stuff).
>
> The behavior you describe really should only be possible if
> the table has been formatted with a "text flow" (like
> around a graphic). But I find that so unlikely with tables
> being created by code...
>
> By default, the tables will *not* have this capability and
> one will "push" the other down the page automatically.
>
> Cindy Meister
> INTER-Solutions, Switzerland
>
http://homepage.swissonline.ch/cindymeister (last update
> Jun 17 2005)
>
http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any
> follow question or reply in the newsgroup and not by e-mail
> :-)
>
>