modifying lay-out of word-document with automation

message from Mr. T. on 4 Jun 2004
Hi,

i've got a word-template based on which i make a word-document throught
automatisation from within my access vba-module. So far, no problem.

Now the lay-out of the document needs to be changed from within my access
module depending on the content i'm sending to word.

The document consists of a fixed header, where i put some data, but that's
no problem, i've put my fields there, with bookmarks, and they get filled
out perfectly. Lay-out for that part is fixed, so i put the lay-out for it
fixed in my word template.

But after that fixed header part, i have a list with different blocks of
data. Depending on what data i sent, the lay out needs to be different.
Specificly, some blocks of data need to be indented, others not. Ideally,
i'd like to have a numbered list in which each block of data is a number,
but, when i have a block of data that's indented under one of the blocks, i
want to start a new list.

Finally the structure of the report would have to look something like:
 

Archived message: modifying lay-out of word-document with automation (Microsoft Access Forms)