將Excel最大行號賦值給變數. num = Rows.Count. '開始迴圈並判斷,找出最後有值的單元格. For i = 1 To num. If Range("a" & num) <> "" Then.
確定! 回上一頁