Selection EntireRow Insert
Maybe
Sub stance()
response = InputBox("How many rows to insert")
On Error GoTo enditall
For x = 1 To response
Selection.EntireRow.Insert
Next
enditall:
End Sub
Mike
"Rob" wrote:
Using Excel 2000.
I need to insert a number of rows and using the following code seems wrong
insomuch that the code is repeated for the number of rows required, is there
a more simple solution?
Selection.EntireRow.Insert
Selection.EntireRow.Insert
Selection.EntireRow.Insert
Thanks, Rob
|