Thread: Clearing Cells
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Andyd74[_4_] Andyd74[_4_] is offline
external usenet poster
 
Posts: 1
Default Clearing Cells


Hi,

I want to clear some cells within another sheet when a button is
pressed on a different sheet, the code i have so far is:

Sheets("February Stats").Select
ActiveSheet.Range("C8:R63").Select
Selection.ClearContents

But this obviously takes u into that sheet before deleting, so I then
have put a bit of code at the end that takes me back.

Is there a way to clear cells in another sheet, without having to
actually select it?

Thanks

Andy


--
Andyd74
------------------------------------------------------------------------
Andyd74's Profile: http://www.excelforum.com/member.php...o&userid=34013
View this thread: http://www.excelforum.com/showthread...hreadid=567113