我正在尝试为特定的仅IE网站打开Internet Explorer。
取决于我得到的报价量
无效的参数
或
找不到文件
免责声明:
忽略任何不适当的空格和大写字母。我无法复制并粘贴我的代码,因为我的PC没有互联网连接,并且在工作中的虚拟机中。我在手机上输入。
在cmd上
'description[add]'
工作正常
在Excel上,Shell命令抛出未找到的错误文件
# let b is your bytes
b = b'\xe4\x06-\x95\xf5!P4'
# first convert it to hex
bHex = b.hex()
# convert it to integet
bInt = int(bHex, 16)
# finaly convert it to binary
bBin = "{:08b}".format(bInt)
print(bBin) #1110010000000110001011011001010111110101001000010101000000110100
答案 0 :(得分:0)
尝试:
Shell Environ("ProgramFiles") & _
"\internet explorer\iexplore.exe -private http://www.google.com"
答案 1 :(得分:-1)
好的,所以我找到了在vba中打开Internet Explorer的正确方法
子openie()
将浏览器视作对象
set iebrowser = createobject(“ InternetExplorer.Application”)
iebrowser.visible = true iebrowser.Navigate2“ www.google.pt”
结束子