dbTalk Databases Forums  

modifying lay-out of word-document with automation

comp.database.ms-access comp.database.ms-access


Discuss modifying lay-out of word-document with automation in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mr. T.
 
Posts: n/a

Default modifying lay-out of word-document with automation - 06-04-2004 , 03:33 AM






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



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.