in reply to Re: MS Project
in thread MS Project

Hi, I know about this:) i always record VBA macro it's simlpy way to write something very fast, but this time VBA for MS project is different from VBA for Excel, so I can't translate e.g. 'EditInsert' or 'RowInsert' from VBA to PERL :(

Replies are listed 'Best First'.
Re^3: MS Project
by keldorn (Initiate) on Mar 02, 2012 at 21:52 UTC

    The answer is:

    my $app = Win32::OLE->GetObject($mpp) or die "Couldn't open project"; my $project = $app->Projects(1); $app->Tasks->Add("task title", $numberOfRow);