SUSCRÍBASE A NUESTRO BLOG
SOBRE APESOFT

ApeSoft es una compañía de soluciones de Gestión del Rendimiento Empresario: Gamification, Reporting, Dashboards, Planificación Presupuestaria y Balanced Scorecard, fundada en 1994, con sede central en España y oficinas en Estados Unidos.

Más información: Web ApeSoft

« ApeSoft presenta un renovado DataCycle Scorecard | Main | Gráfico personalizado para cada dato »
lunes
dic272010

Ejecutar una macro de powerpoint desde un proceso DCR

Las tareas más versátiles de los procesos de Datacycle Reporting son las de tipo de Ejecución de scripts.

Otro ejemplo de uso de este tipo de tareas, sería utilizarla para lanzar una función/macro ubicada dentro de una presentación de powerpoint (generada o no por Datacycle Reporting).

El código VBScript sería el siguiente: 

Sub OpenPPTAndRun 
Dim oApp, oPres 
Set oApp = CreateObject("Powerpoint.Application") 
oApp.visible = True 
Set oPres = oApp.Presentations.Open("c:\temp\test.ppt") 
oApp.Run "test.ppt!someMacro" 
oApp.Quit 
End Sub

PrintView Printer Friendly Version

EmailEmail Article to Friend

References (2)

References allow you to track sources for this article, as well as articles that were written in response to this article.
  • Response
    Great info about this subject that certainly would be useful for many readers of this blog, including me.
  • Response
    corporate blog

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.