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

冷暖自知 提交于 2019-12-02 16:28:08

问题


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 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.



来源:https://stackoverflow.com/questions/25982347/set-xlobj-createobjectexcel-application-requires-elevation-vbscript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!