Create Excel object

Hi,

I have installed SW 2014 on a new work station, operation system Windows 8.1

I copied all my macros from my old work station - operation system Windows 7.

I'm trying to run a macro, which creates an Excel object:

Dim xlsDoc As Excel.Application

Set xlsDoc = GetObject(, "Excel.Application")

But now I get this compilation error:

Object library feature not supported

Any chance os solving this?

SolidworksApi macros