Automating PowerPoint-Word

T

TD

Hi NG

I send the following question to the PowerPoint newsgroup, but I haven got
any answers. Maybe somone here is able to help:

"Can anyone give me a hint on how to automate the "Send to Word" process?

I have to make handouts with the dias on top, and lines beneath. I can do it
by selecting Files - Send - To Word and then selecting the right format.

But I would like automate the process, so all the user should do is
clicking a button - and then the printer starts to print.

Recording a macro doesn't record anything, and I can't find anything in VBA
Help about how to achieve this. I can define Word as an object, open an
instance - but what should I transfer from PP?"

Regards
Jan
 
J

Jonathan West

Hi Jan

To print a document in Word, you need to use the PrintOut method in Word.

To control Word from PowerPoint, take a look at this article

Control Word from Excel
http://www.word.mvps.org/FAQs/InterDev/ControlWordFromXL.htm

Don't worry about the article title, the principles are exactly the same for
controlling Word from any other application that uses VBA.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.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