Passing text + commands to word

J

Junaid

Hi all,
I'm trying to pass MS Word some text and I want it aligned a specific way.
How can I send command to Word to apply it to specific part of text that is
being passed to it? I would appreciate any help. Thanks.

Junaid
 
C

Cindy M -WordMVP-

Hi Junaid,
I'm trying to pass MS Word some text and I want it aligned a specific way.
How can I send command to Word to apply it to specific part of text that is
being passed to it?
what programming interface are you working in? Could you show us some code
you're using to declare the Word application object and pass in the text so
that we can demonstrate to you how the syntax should look? All we can really
tell you at the moment is that you need to use the RANGE object for putting
the text in AND formatting it.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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