Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 131
Default Clearcontents

It depends on how you are using A1, B1, C1... to populate
the corresponding ranges. I am assuming here what is most
likely - that the cells in A5:A10 contain formulas that
depend on the value in A1, and when A1 is erased you are
getting error values such as #DIV/0! showing in the
cells. If that is the case, you can check for the error
values and suppress them, e.g.:

=IF(IsErr(put your formula here),"",(put your formula
here))

-----Original Message-----
How do I clear the contents from a range of cells, which

are dependent on another cell being populated. For
example, If I enter a Value in cell A1, A5:A10 are
populated with data according to the value entered in A1.
A value in B1 populates data in B5:B10, C1 populates data
in C5:C10 etc.....

My question is if I clear either A1,B1 or C1, I also want

to clear the corresponding data in A5:A10, B5:B10, C5:C10
etc

If I only clear A1 & C1 then contents from A range & C

range should only clear. Any ideas would be appreciated.
.

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
"ClearContents" command halts code Dave O Excel Discussion (Misc queries) 3 January 10th 08 03:39 PM
Conditional formatting, pastevalues, clearcontents Allllen Excel Discussion (Misc queries) 2 August 30th 06 05:09 PM
ClearContents method on a passed range bryan New Users to Excel 2 January 19th 05 08:49 AM
Clearcontents Dick Kusleika[_3_] Excel Programming 0 February 17th 04 05:42 PM
Error of ClearContents Richard[_23_] Excel Programming 1 January 1st 04 12:23 PM


All times are GMT +1. The time now is 02:02 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"