Hi,
I have a problem, I have two tables in the file called "TABLE1" and "TABLE2"
I want to add a button that will be under each table and its function will be to add more rows (one row)
I have a macro like below,
however, it only works for the first table. For the second one, which is 3 lines below, no longer ...
How can this be solved?
Thanks for the help
I have a problem, I have two tables in the file called "TABLE1" and "TABLE2"
I want to add a button that will be under each table and its function will be to add more rows (one row)
I have a macro like below,
however, it only works for the first table. For the second one, which is 3 lines below, no longer ...
How can this be solved?
Sub WstawWierszTABELA1()
Dim ost&, ile&
ost = Range("Bytowa2").Rows.Count + 3
ile = 1
Rows(ost & ":" & ost + ile - 1).Insert CopyOrigin:=xlFormatFromLeftOrAbove
End Sub
Thanks for the help