View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sharon[_6_] Sharon[_6_] is offline
external usenet poster
 
Posts: 1
Default range name nonadjacent cells

I select 44 areas of nonadjacent cells on one worksheet
and give them one name.

Then I try to clearcontents this way:

Sub MakeDeletions()
[Period2].ClearContents
End Sub

Only 31 of the areas clear. 13 still have the data in
them.

I can't seem to find anything on this limitation so
perhaps it is my mistake? Assuming it was me, I kept
deleting the range name and trying to select it very
carefully again - several times. It lets me create the
name but when I attempt to clear it - that's where the
problem occurs.

Thank you-