Find and delete error value
Hi Kaj,
Am Sun, 2 Oct 2011 19:38:10 +0200 schrieb KP:
I have just tried your suggestion.
Unfortunately it resulted in Runtime Error 1004 (No cells were found)
Are you able to figure out what the problem is?
if the error value is not a result of a formula, change the code from
xlCellTypeFormulas to xlCellTypeConstants:
myRange.SpecialCells(xlCellTypeConstants, 16).ClearContents
Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
|