推 Marty:if...then exit for..end if 06/25 12:59
→ OTiux:注意exit for這行要寫在 j 的這個循環的循環體內。 06/25 13:04
→ OTiux:re 1樓︰ 若在同一行內可以不用尾巴的 end if 吧。 06/25 13:04
推 Marty:樓上提議很好..但是我剛試了...VBA不能寫在同一行.....XD 06/25 13:18
→ Marty:我了解O大的意思了.. if {..} then exit for 這樣就可以了.. 06/25 13:23