I have created a to-do list and want a button to add a new row which has a task ID in the first column.
For now I have the following code for a new row:
What code do I have to add to create a new row that starts with (in this case) T0007?
For now I have the following code for a new row:
VBA Code:
Sub Add_Row()
Dim Test As Worksheet
Set Test = ThisWorkbook.Sheets("TEST")
Test.Range("A11").End(xlDown).Select
ActiveCell.Offset(1, 0).EntireRow.Insert
ActiveCell.Offset(1, 0).Select
End Sub
What code do I have to add to create a new row that starts with (in this case) T0007?