VBS that triggers a macro via HTA (Cannot run the macro)

前端 未结 1 1006
悲&欢浪女
悲&欢浪女 2021-01-27 07:52

I have a HTA script which ultimately triggers the vbs portion of the code to call a VBA macro but for some reason I\'m getting this error:

I\'ve already made su

相关标签:
1条回答
  • 2021-01-27 08:35

    objWorkbook.RunAutoMacros(1)

    Include above line of code in HTA code before the objExcel.Run "RefreshConns" line.

    0 讨论(0)
提交回复
热议问题