rmccafferty
Board Regular
- Joined
- Jul 16, 2009
- Messages
- 60
How do I do the equivalent of hitting the escape key in VBA?
When I do a copy and paste in VBA, on screen in the spreadsheet it leaves the section highlighted or outlined. I do not want to see that residual outline of the area I copied or pasted. In normal usage, I would just hit the escape key to deselect the highlighted cells. How do I do that in VBA?
When I do a copy and paste in VBA, on screen in the spreadsheet it leaves the section highlighted or outlined. I do not want to see that residual outline of the area I copied or pasted. In normal usage, I would just hit the escape key to deselect the highlighted cells. How do I do that in VBA?