26 3 月, 2014
VBA退出循环、Sub、Fuction等的Exit语句
Exit语句,可以用来跳出、退出各种循环。 以下是几种VBA循环及过程、函数等的退出语句代码。 一、For循环的退出 For Each myCell in Range(“A1:H10”) If myCell.Value = “” Then myCell.Valu […]
关注网站技术,一个特立独行的程序员
Exit语句,可以用来跳出、退出各种循环。 以下是几种VBA循环及过程、函数等的退出语句代码。 一、For循环的退出 For Each myCell in Range(“A1:H10”) If myCell.Value = “” Then myCell.Valu […]