How to place text blocks from another program?

P

(Pete Cresswell)

I'm running Word from an MS Access app, iterating through a file of people and
information on them, and formatting the Word doc as I go.

No problem just plugging in names, addresses, comments as long as I start at the
top and work down.

What I'd like to do, however, is place a block of text on the left of the page
that contains the person's mailing address - and then place another block of
text on the right side of the page that contains the person's telephone numbers
and email addresses.

The two blocks would be of varying sizes/lengths for each person and different
sizes/lengths between themselves.

Each block is already formatted (line feeds and all) in the input recordset.

Is there a way to do this without parsing each block into separate lines,
counting the lines and then tabbing across the doc?

I'm not looking for a total solution - just an idea of what's possible and maybe
a few keywords to start searching on.
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < (Pete Cresswell) > écrivait :
In this message, < (Pete Cresswell) > wrote:

|| I'm running Word from an MS Access app, iterating through a file of
people and
|| information on them, and formatting the Word doc as I go.
||
|| No problem just plugging in names, addresses, comments as long as I start
at the
|| top and work down.
||
|| What I'd like to do, however, is place a block of text on the left of the
page
|| that contains the person's mailing address - and then place another block
of
|| text on the right side of the page that contains the person's telephone
numbers
|| and email addresses.
||
|| The two blocks would be of varying sizes/lengths for each person and
different
|| sizes/lengths between themselves.
||
|| Each block is already formatted (line feeds and all) in the input
recordset.
||
|| Is there a way to do this without parsing each block into separate lines,
|| counting the lines and then tabbing across the doc?
||
|| I'm not looking for a total solution - just an idea of what's possible
and maybe
|| a few keywords to start searching on.
||

You could use a template with a borderless 2-column x 1-row table. Put the
first block in the left-hand cell, the second block in the right-hand cell.
Add a row and start over.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
P

(Pete Cresswell)

RE/
You could use a template with a borderless 2-column x 1-row table. Put the
first block in the left-hand cell, the second block in the right-hand cell.
Add a row and start over.

Worked like a champ!.... "Faux columns", I'd call it.
Thanks.
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < (Pete Cresswell) > écrivait :
In this message, < (Pete Cresswell) > wrote:

|| RE/
||| You could use a template with a borderless 2-column x 1-row table. Put
the
||| first block in the left-hand cell, the second block in the right-hand
cell.
||| Add a row and start over.
||
|| Worked like a champ!.... "Faux columns", I'd call it.
|| Thanks.

You're welcome!

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top