我想升级npm的版本,同时使用注释来安装最新版本,但都显示错误 [ 1
答案 0 :(得分:0)
只需运行:
Public gloInputVariable as Variant
Sub procedureWithoutInputparameters
'Do something in this procedure
inputVariable = "something"
'force code execution
'workaround with global variable instead of inputparameter (macros don't have input parameters)
gloInputVariable = "something"
'start the next procedure as a macro (basicaly a procedure without input paramters)
Application.OnTime Now + TimeSerial(0, 0, 1), "WorkaroundMacroInsteadOfProcedureWithInputParameters"
End Sub
Sub WorkaroundMacroInsteadOfProcedureWithInputParameters()
'get the input parameter through a global variable
variable1 = gloInputVariable
'do something
End Sub
使用npm升级npm:D