Sub 新增數量()
Dim Rng As Range
Set Rng = Rows("1:47")
Rng.Copy
With Rows("48:48").Resize(, Rng.Rows.Count) 'columns/rows
.PasteSpecial Paste:=xlPasteFormats '格式
.PasteSpecial Paste:=xlPasteValuesAndNumberFormats '值
.PasteSpecial Paste:=xlPasteFormulasAndNumberFormats '公式
End With
End Sub
Sub 新增數量()
Dim Rng As Range
Application.DisplayAlerts = False
Set Rng = Rows("1:47")
Rng.Copy
Rows("48:48").Resize(, Rng.Rows.Count).PasteSpecial Paste:=xlPasteAll
Application.DisplayAlerts = True
End Sub