in reply to Need Help with Creating Excel Line Chart using Win32:OLE

That type of error usually means you don't have an object where you think. In this case it says $mcr_crtime_chart is not a valid object that you can call SetSourceData on. I've found this is usually happens when creating the object fails. So the real problem is with:
$mcr_crtime_chart = $Excel->Charts-Add;

Change it to:
$mcr_crtime_chart = $Book->Charts-Add;

Replies are listed 'Best First'.
Re^2: Need Help with Creating Excel Line Chart using Win32:OLE
by ralife (Novice) on May 21, 2008 at 18:01 UTC
    Thanks! It turns out its the little things that makes life difficult.

    I just forgot to put the ">" in the "->"

    $mcr_crtime_chart = $Book->Charts-Add;
    Thanks for the help!