write into word document

K

kuhni

Hi everybody!

I am trying to start a word document within PowerPoint! How can I
write my text from PowerPoint to Word --> i just don't know the
statement to write to this new document!

Thanks in advance!

Best wishes,
Stephan
 
D

Dave Lett

Hi Stephan,

You can use something like the following:

Selection.TypeText "Hello World"

HTH
 
K

kuhni

Hi Dave,

my problem is that I cannot use the Selection-statement because I
only have a reference to the Word.Application. I am trying to type
text from PowerPoint to Word...

I have found out that Documents(1).Words(1).Text = "..." writes to my
word document but the problem is that every new text I want to append
at the end of the document comes to the beginning!

It would be great if you could help me again!

Thanks and greetings,
Stephan
 
D

Doug Robbins - Word MVP

Hi Stephan,

It's not too clear exactly what you want to insert into the document and
where. But you can use

Documents(1).Range.InsertAfter "..."

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
 

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