VC++6.0. Word Automation. How to insert a table with different row

A

Antonio

Hello, I have an application in VC++6.0
I must to create a word document (word automation). In this document I must
to insert a table of this type:
Every record occupies 2 rows, but the 2 rows have different number cells

AAAAAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBB CCCCCCCCCCCCCCCCCC
DDDDDDDDD EEEEEEEEEEEEEE FFFFF GGGGGGGGGGGGGGGG HHHHHHHHHH

AAAAAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBB CCCCCCCCCCCCCCCCCC
DDDDDDDDD EEEEEEEEEEEEEE FFFFF GGGGGGGGGGGGGGGG HHHHHHHHHH

AAAAAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBB CCCCCCCCCCCCCCCCCC
DDDDDDDDD EEEEEEEEEEEEEE FFFFF GGGGGGGGGGGGGGGG HHHHHHHHHH

and so on...
How I can do that?
 
R

Robert M. Franz (RMF)

Ciao Antonio
Hello, I have an application in VC++6.0
I must to create a word document (word automation). In this document I must
to insert a table of this type:
Every record occupies 2 rows, but the 2 rows have different number cells

AAAAAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBB CCCCCCCCCCCCCCCCCC
DDDDDDDDD EEEEEEEEEEEEEE FFFFF GGGGGGGGGGGGGGGG HHHHHHHHHH

AAAAAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBB CCCCCCCCCCCCCCCCCC
DDDDDDDDD EEEEEEEEEEEEEE FFFFF GGGGGGGGGGGGGGGG HHHHHHHHHH

AAAAAAAAAAAAAAAAAAAAAAAAA BBBBBBBBBBB CCCCCCCCCCCCCCCCCC
DDDDDDDDD EEEEEEEEEEEEEE FFFFF GGGGGGGGGGGGGGGG HHHHHHHHHH

and so on...
How I can do that?

that's a really general question, granted! :)

But it's pretty hard to guess what you're struggling with. If you have
questions about the Word Object Model, your best bet is, say, one of the
..vba groups.

Otherwise, maybe the following article can help:

Office Automation Using Visual C++
http://support.microsoft.com/kb/196776/en-us

HTH
Robert
 

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