Sub SplitSheet()
Dim A As Range, B As Range, r%, Sh As Worksheet 不懂這裡設定r%是什麼意思
With Sheet1
Set A = .[A1] 'A1為起點
Do Until A.Address = first '直到再度找到的位置是A1
first = "$A$1"
Set B = .Columns("G").Find("報 表 結 束", after:=A.Offset(, 6)) 'G欄中找到報表結束
r = B.Row - A.Row