Forum Discussion
Newbee321
Oct 15, 2021Copper Contributor
Retrieving the COM class factory for component with CLSID
Hi, I need to move an old script from old server to new one. Getting following error when I run below code. $file = New-Object - ComObject Excel.Application Error : New-Object : Retrieving the ...
AndySvints
Oct 21, 2021Steel Contributor
Hello Newbee321,
AFAIK you need to have Microsoft Excel installed on the server to create a COM object.
Hope that helps.