Hi all,
Sorry for all the questions lately!....
I am using the following code (shamelessly taken from the MS site for UserForms) to copy and paste data into a worksheet:
ws.Cells(iRow, 1).Value = Me.TextBox1.Value
ws.Cells(iRow, 2).Value = Me.TextBox2.Value
What I would then like to do is select the row which the data is pasted into. I've tried ActiveCell.EntireRow.Select but this selects the row which was copied from - sorry for the basic question but could anyone tell me how to select the correct row?
Many thanks,
Dave
Sorry for all the questions lately!....
I am using the following code (shamelessly taken from the MS site for UserForms) to copy and paste data into a worksheet:
ws.Cells(iRow, 1).Value = Me.TextBox1.Value
ws.Cells(iRow, 2).Value = Me.TextBox2.Value
What I would then like to do is select the row which the data is pasted into. I've tried ActiveCell.EntireRow.Select but this selects the row which was copied from - sorry for the basic question but could anyone tell me how to select the correct row?
Many thanks,
Dave