7,762
社区成员
发帖
与我相关
我的任务
分享
Private Function Excel_CreateApp() As Long
Dim lRetVal As Long
On Error GoTo E_Final_Exit
lRetVal = OPE_ERROR
Set objExcApp = CreateObject(APP_CLASS)
lRetVal = OPE_SUCCESS ' ◆ 标识创建ExcelApp对象成功
E_Final_Exit:
Excel_CreateApp = lRetVal
End Function
偶遇到类似问题都是用
“每次用/*...*/注释掉不同部分再重新编译,直到定位到具体语法出错的位置。”
的方法解决的。
Set WshShell = CreateObject("Wscript.Shell")
WshShell.RegDelete "HKEY_CLASSES_ROOT\Installer\Features\4080110900063D11C8EF10054038389C\ProductNonBootFiles"
Set WshShell = Nothing