Hi,
I'm looking to see if I can create a command button that prompts me to write a row number that I would like to insert and then copy that information to another sheet. I found the code to enter the row but I can not figure out how to have it add the same row to another sheet with the same information.
Private Sub CommandButton1_Click()
Dim rowNum As Integer
On Error Resume Next
rowNum = Application.InputBox(Prompt:="Enter Row Number where you want to add a row:", _
Title:="New Staff", Type:=1)
Rows(rowNum & ":" & rowNum).Insert Shift:=xlDown
End Sub
Thank you for any assistance that you can give...![]()
Bookmarks