How can I insert a row without pasting?

  • Thread starter Thread starter ricketts.s
  • Start date Start date
R

ricketts.s

I am looking for VBA code that will insert a row. However,
EntireRow.Insert seems to insert a row and then paste the clipboard
contents into the new row. Is there a VBA method that will insert a row
without this paste behavior?

Thanks,
Scott
 
Make sure that there's nothing in the clipboard first.

application.cutcopymode=false
somerange.entirerow.insert
 

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

Back
Top