设置x10bj = CreateObject("excel.application")需要高程(vbscript) [英] Set xlObj = CreateObject("excel.application") Requires Elevation (vbscript)

查看:133
本文介绍了设置x10bj = CreateObject("excel.application")需要高程(vbscript)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我尝试运行在vbscript中包含行Set xlObj = CreateObject("excel.application")的脚本时,都会收到一条错误消息,提示行需要高程".我认为这是一个权限问题,但是我是试图运行该脚本的计算机上的管理员,所以我不确定该怎么做.

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.

推荐答案

这没有什么神秘之处.我们告诉过您,您说过不行".如果设置为admin,则非管理员无法访问它.

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.

这篇关于设置x10bj = CreateObject("excel.application")需要高程(vbscript)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆