Error with Excel 2010 but not Excel 2007

Topics: User Forum
Sep 29, 2011 at 11:08 PM

Two different machines running IIS servers, both running apache via xampp

On the one with office 2007 installed, everything runs great

on the one with office 2010 I get the following error:

Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `Excel.sheet': Invalid syntax '

This is from the following

$excel_app = new COM("Excel.application") or Die ("Did not connect");


Any help in resolving this would be appreciated.