Set xlObj = CreateObject("excel.application") Requires Elevation (vbscript)

2k Views Asked by At

Every time I try to run a script that includes the line Set xlObj = CreateObject("excel.application") in vbscript, I get an error saying "Line Requires Elevation". I assume this is a permissions issue, but I'm an admin on the machine where I'm trying to run this script, so I'm not sure what I need to do about this.

1

There are 1 best solutions below

0
On

There is no mystery about it. We told you and you said "No that can't be it". If set to admin then a non admin can't access it.