如何在VBA中调用Unrar
下载了UnRarOCX.ocx在VBA项目里添加引用后也用不了,那位GGJJ用过这个帮忙指教一下!谢谢!
我知道这个问题可能很蠢...不过还是请各位GGJJ帮帮忙了~~~代码如下
执行到Set test = New UnRarOCX.UnRar 时报错Invalid Use of Keyword.
Sub test()
Dim test As UnRarOCX.UnRar
Set test = New UnRarOCX.UnRar
test.Decompress fichier:="test.rar", rep:="c:\test"
End Sub