我在excel中创建了一个表格(带有公式和值)。我想创建一个按钮,该按钮将每次都在同一工作表中复制表格,但始终在现有表格下方两行。
Dim LR As Long
'LR = Last Row
With ActiveSheet
LR = .Cells(.Rows.Count, "K").End(xlUp).Row
End With
MsgBox ("New table will be created in row: " & LR + 2 & vbNewLine & _
"Please wait...")