Insert Row Selection

  • Thread starter RE: VLOOKUP fORMULA
  • Start date
R

RE: VLOOKUP fORMULA

Any one please help me.......?

After inserting row how can I go back to the row I selected for inserting,
instead for going to A1

Sub insertrowatselection()
Rows(ActiveCell.Row).Insert
Range("A1").Select
 
S

Shane Devenshire

Hi,

here is another suggestion

Sub MyInsert()
With Selection
.EntireRow.Insert
.Select
End With
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top