You want to preserve the activecell contents and delete 17 cells to the right?
ActiveCell.Offset(0, 1).Resize(1, 17).ClearContents
Gord Dibben MS Excel MVP
On Tue, 8 Apr 2008 21:01:00 -0700, Alex.W <(E-Mail Removed)>
wrote:
>I use a message box in my macro that delivers a cell address. This aspect of
>the macro work well. The following line I think is the problem:
>
>ActiveCell.Offset(1, 0).Resize(1, 17).ClearContents
>
>It clears the row below the one required. Is Offset the correct way to go?
>
>AlexW
|