DDE in Powerpoint

  • Thread starter Thread starter Ken
  • Start date Start date
K

Ken

I want to initiate a powerpoint VB macro from a Filemaker
Pro application. Filemaker has a "Send DDE Message" script
step.

Does powerpoint respond to DDE messages?

If so, what is the service name for Powerpoint?

ALso what is the topic and command?

Has anyone tried this? I have seen no documentation on
powerpoint responding to DDE messages.
 
Steve,

Thanks for responding. The FAQ that you suggested did not
address how to get a ppt VB macro to execute from outside
of ppt.

As an alternative to DDE, is it possible to get the macro
to execute automatically when the ppt document is opened?

Thanks
 
Thanks for responding. The FAQ that you suggested did not
address how to get a ppt VB macro to execute from outside
of ppt.

True. You didn't mention any macros in PPT. ;-)

This is one way of doing it:

Dim oPPTApp As PowerPoint.Application
Set oPPTApp = New PowerPoint.Application
oPPTApp.Visible = True

' Pass control to routine in loaded add-in
oPPTApp.Run "MacroName", Parameters
As an alternative to DDE, is it possible to get the macro
to execute automatically when the ppt document is opened?

Not easily, if at all. You can get an addin to load at startup though. That
makes it available to your VB or other external code. For that matter, you
could, I'm pretty sure, have the external code demand-load an add-in.

See some of the other VBA-related stuff at www.pptfaq.com
 
[CRITICAL UPDATE - Anyone using Office 2003 should install the critical
update as soon as possible. From PowerPoint, choose "Help -> Check for
Updates".]

Hello,

PowerPoint doesn't provide the functionality (DDE) that you are looking for.

If you (or anyone else reading this message) think that it's important that
PowerPoint provide this kind of functionality, don't forget to send your
feedback (in YOUR OWN WORDS, please) to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

As with all product suggestions, it's important that you not just state
your wish but also WHY it is important to you that your product suggestion
be implemented by Microsoft. Microsoft receives thousands of product
suggestions every day and we read each one but, in any given product
development cycle, there are only sufficient resources to address the ones
that are most important to our customers so take the extra time to state
your case as clearly and completely as possible.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions).

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
Back
Top