ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy question (https://www.excelbanter.com/excel-programming/440812-copy-question.html)

Ram

Copy question
 
Hi,

My code copies and paste a row of data. When the data is pasted the row that
was copied is still highlighted as if it is ready to be pasted again. how
can I unhighlight this row. I tried to select another cell but the row still
remains highlighted.


Thanks for any help.



Mike H

Copy question
 
Hi,

Put this after your paste command

Application.CutCopyMode = False
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"ram" wrote:

Hi,

My code copies and paste a row of data. When the data is pasted the row that
was copied is still highlighted as if it is ready to be pasted again. how
can I unhighlight this row. I tried to select another cell but the row still
remains highlighted.


Thanks for any help.



Ram

Copy question
 
Thank you

"Mike H" wrote:

Hi,

Put this after your paste command

Application.CutCopyMode = False
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"ram" wrote:

Hi,

My code copies and paste a row of data. When the data is pasted the row that
was copied is still highlighted as if it is ready to be pasted again. how
can I unhighlight this row. I tried to select another cell but the row still
remains highlighted.


Thanks for any help.




All times are GMT +1. The time now is 09:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com