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:office:office" /><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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
.ClearContents only empties the range, it doesn't destroy it.

Show your code?
 
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,189
Members
452,893
Latest member
denay

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