Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default clear the entire active worksheet

how to clear the entire active worksheet at once?! I need something like,
Range.ClearContents() which is for a particular range of cells on excel.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default clear the entire active worksheet

Cells.Clear
--
Gary''s Student - gsnu200826
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default clear the entire active worksheet

Try,

ActiveSheet.UsedRange.ClearContents

Mike

"NA_AB" wrote:

how to clear the entire active worksheet at once?! I need something like,
Range.ClearContents() which is for a particular range of cells on excel.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default clear the entire active worksheet

hey guys, thanks you both! :) the question was very trivial one, am a new bie
though. thanks again!

"Mike H" wrote:

Try,

ActiveSheet.UsedRange.ClearContents

Mike

"NA_AB" wrote:

how to clear the entire active worksheet at once?! I need something like,
Range.ClearContents() which is for a particular range of cells on excel.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting of Entire Row when the Active Cell is in ro Shannon Excel Discussion (Misc queries) 11 April 29th 08 09:31 PM
Clear entire rows below last row of data in col A except in 1st 3 sheets Max Excel Programming 6 January 7th 08 10:33 AM
how to scroll through active cells instead of entire worksheet mark smith Excel Discussion (Misc queries) 2 March 13th 06 02:29 AM
Making Hyperlinks Active In Entire Column JXD New Users to Excel 2 January 18th 06 11:28 PM
Clear contents of unprotected cells in entire workbook with a macr FinnGirl Excel Programming 1 June 29th 05 05:32 PM


All times are GMT +1. The time now is 05:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"