Dim x, yx = 10Do y = 20 For 10 Call A Next y = 20 For 10 Call B NextLoopSub A ...省略脚本... y=y+5End SubSub B ...省略脚本... y=y+5End Sub
在Call B 之前加上x=10和y=20
B执行前,写一句变量赋值语句不就行了么??