View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Fan924 Fan924 is offline
external usenet poster
 
Posts: 238
Default Unselect or deselect cells

On Feb 23, 2:50 am, Gary''s Student
wrote:
Set r = Selection
' your code here
r.Select
--
Gary''s Student - gsnu2007L

"Fan924" wrote:
After a macro runs, sometimes a block of cells remains selected. Is
there a command I can put at the end of the macro to clear the
selection?


This did not work for me. Maybe it is my version, excel 97