View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Unselect or deselect cells

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?