Office Word Programming >> Automating PowerPoint-Word

by TD » Fri, 19 May 2006 15:04:59 GMT

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






Office Word Programming >> Automating PowerPoint-Word

by Jonathan West » Fri, 19 May 2006 19:31:32 GMT


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








Similar Threads

1. VBA automating Word from PowerPoint

2. Automating the Send to Word process

Hi NG!

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 dom 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?

I know about Shyam Pillais HandOut Wizard, but unfortunately thats not an 
option.

Regards
Jan 


3. How To Automate PowerPoint 2007 from .NET App

4. Automate Powerpoint rehearse timings for exit animations

I have to automate powerpoint rehearse timings for a project. I was
able to successfully automate rehearse timing features from a
chtmlview derived class. I run the slide show in rehearse timings mode
and get the SlideShowWindow handle, resize it to fit my chtmlview
derived view and make it a child of this view by calling SetParent

All the animations are getting played properly when i rehearse
timings. But i came across problems when i tried to rehearse timings
for exit animations. The animation is not getting played. The duration
also is not getting recorded properly by powerpoint. I'm not able to
make out why this is happening.

If i donot make the slide show window a child of my chtmlview derived
view, the animations play properly

any input on what is going wrong with exit animations alone is highly
appreciated

5. Automate PowerPoint with Embedded Excel

6. Automating Powerpoint...

1. I would like to share a powerpoint. Suppose there are 2 ends.. One teacher 
and other student. And the teacher end uses powerpoint application and other 
side uses powerpoint viewer. So i created a add-in and i capture the change 
of slide events, Opening a new presentation, Starting a slide show, etc. I 
could able to track the slide number and send it to the student side and 
there using client program in Visual Basic i could change the slides using 
powerpoint viewer. But how to keep track of the animation that is happening 
at the teacher side.

That is,
I could able to keep track of the change in slides.
But i don't know how to keep track of the animations in the teacher side...
(i,e.,) a powerpoint can contain animations too so if i start the slide the
animation could be based on key press or mouse click or automatic. If it is
automatic no problem it will automatically happen at the student end. But if
it is based on keyboard or mouse events how wil i keep track of it.
plzzzzzzzzzzzzzzzzzz help me...(in Visual basic...)

7. Can PowerPoint be automated reliably ??

8. Automate Hyperlink insertion in Powerpoint (with no active window)

Hi, 
ive got a cmd line program which needs to insert links based on an argument
The examples i have looked at so far requires an active window, and my case 
that is not possible.

Any ideas/directions?

i have slide.Hyperlinks[0].address .. etc. but at this point im not sure how 
to even create the hyperlinks in the first place let alone assign them to an 
object (textframe/shape)

Any help would be appreciated
Cheers
Lu