By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,560 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,560 IT Pros & Developers. It's quick & easy.

modifying lay-out of word-document with automation

P: n/a
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:

-------------------
fixed header block
-------------------
1. block of data
2. block of data
a) first block of data under 2
b) second block of data under 2
3. block of data
a) block of data under 3

etc ...

Anyone got an idea on how i can accomplish this? Getting my blocks of data
in a numbered list would already be great!

Thx in advance!

Thomas
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.