可以使用ActiveSheet.Rows.Count與ActiveSheet.Columns.Count來取得最後一列Cells(ActiveSheet.Rows.Count, 1).End(xlU.
確定! 回上一頁