vba - How do I call a PowerPoint macro via Java and pass parameters? -
i have java application required bunch of stuff powerpoint file, 1 of involves invoking existing powerpoint macro , passing parameters it. here sample code:
public static void main (string[] args) { createpptfile("test"); /* stuff */ /* call macro here */ /* more stuff */ } sub saysomething(something) msgbox(something) end sub the java application first creates new test.pptm file, @ point later application supposed call saysomething(something) while passing value it. how can this? libraries, if any, need? please provide sample code show how can done.
the application implemented using java 1.8, , run on windows 10 , using microsoft office 2013. apache poi being used edit powerpoint files @ present, though using not mandatory.
Comments
Post a Comment