difficulty with ClearContents,

EDUCATED MONKEY

Board Regular
Joined
Jul 17, 2011
Messages
218
WIN XP professional office 2003 IE 8<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
<o:p> </o:p>
Hello I am having some difficulty with ClearContents, <o:p></o:p>
<o:p> </o:p>
The problem arises when I clear the contents of column A to make ready for new data, if I did not clear the column then I would run the risk of old data remaining as the row depth varies<o:p></o:p>
<o:p> </o:p>
The problem I am having is the cell references to column A on the same worksheet go missing I have tried using both forms of referencing it happens with both<o:p></o:p>
<o:p> </o:p>
Can some please tell how I get around this problem I am sure it must be something very simple<o:p></o:p>
<o:p> </o:p>
<o:p> </o:p>
To give an example <o:p></o:p>
<o:p> </o:p>
<o:p> </o:p>
after clear column A =FIND(":",#REF!,1) origonally =FIND(":",A1,1)<o:p></o:p>
<o:p> </o:p>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
.ClearContents only empties the range, it doesn't destroy it.

Show your code?
 
Upvote 0

Forum statistics

Threads
1,216,671
Messages
6,132,042
Members
449,697
Latest member
bororob85

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top