unselect selection

  • Thread starter Thread starter Ivano
  • Start date Start date
I

Ivano

Hi,
I am coping and pasting cells via a macro. When it is done the last cells
copied are still selected, the dashed lines around the cell indicating a copy
function. How do I get it to stop selecting the last copied cells. Kind of
like hitting escape on the keyboard?
Thanks,
Ivano
 
Application.CutCopyMode = False
Place this at the end of your macro
 
worked like a charm... thanks


Michael said:
Application.CutCopyMode = False
Place this at the end of your macro
--
If this posting was helpful, please click on the Yes button.
Regards,

Michael Arch.
 

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