View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Clear range of cells in different worksheet

Hi
try
worksheets("other_sheet_name").range("A1:B20").cle arcontents

--
Regards
Frank Kabel
Frankfurt, Germany

Tim Kelley wrote:
I need to clear a range of cells in a different worksheet than is the
activesheet. Is there a way to set what worksheet is the current
sheet?

Thanks