-1

I am using Active Perl from ActiveState and would like to to transfer data from an Excel sheet to a particular table on the slides in a particular Power point file.

How do I do it in Perl?

user1937198
  • 4,987
  • 4
  • 20
  • 31

1 Answers1

0

I suggest you call your Perl script from VBA.

You can do that like this(in VBA):

ShellWait "c:\perl\bin\perl.exe c:\path\to\script.pl", vbNormalFocus

Also try the Shell API that VBA provides.

UPDATE

I suggest you write to disk first(in Excel). And then you read from disk(in Powerpoint). And you do this using VBA, both of these. Using Perl for this makes little sense because you're going to get wrapped up into file parsing problems and all sorts of other stuff.

wsdookadr
  • 2,584
  • 1
  • 21
  • 44
  • i am looking for the perl code to transfer the data from excel to a specific slide on a ppt....kindly help me with it. – user2111195 Mar 08 '13 at 09:57
  • I suggest you write to disk first(in Excel). And then you read from disk(in Powerpoint). And you do this using VBA, both of these. Using Perl for this makes little sense because you're going to get wrapped up into file parsing problems and all sorts of other stuff. – wsdookadr Mar 08 '13 at 10:22