I have a piece of coding that copies a range of cells from a worksheet to another workbook and then returns the focus to the initial worksheet. On return to that initial worksheet the range of selected cells is still selected/highlighted, even though the active cell is outside that range. How do I unselect the previously selected range of cells, to remove the rotating, dotted line from around them?
Deselect Cells That Have Been Copied
- OldFella
- Thread is marked as Resolved.
-
-
-
-
Re: Deselect Cells That Have Been Copied
Perfect! Problem solved. Much appreciated.
-
-
Re: Deselect Cells That Have Been Copied
Quote from pike;768882Please make me correct if I am wrong...
This method will use xlPasteAll while OP wants to paste Values only and that cannot be specified with the destination range in the method you proposed. -
-
-
Re: Deselect Cells That Have Been Copied
Yeah that does the job but with a different approach to copy the values from one range into another.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!