It worked, I see below I used both "column" and "row" ... my mistake. I'm a
techno-geek.
"Capt. Cave Man" wrote:
>
> Columns, not rows? Are you sure this is what was wanted?
>
> The OP wants a per row, then per cell test, and only delete
> (clear)those cells' data. You code appears to delete entire columns.
>
>
>
>
> On Wed, 8 Apr 2009 08:32:18 -0400, "Bernie Deitrick" <deitbe @ consumer
> dot org> wrote:
>
> >Mrs. Robinson,
> >
> >For column B:
> >
> >With Range("B:B")
> >.SpecialCells(xlCellTypeConstants, 2).Delete
> >.SpecialCells(xlCellTypeBlanks, 2).Delete
> >End With
> >
> >HTH,
> >Bernie
> >MS Excel MVP
> >
> >
> >"Mrs. Robinson" <(E-Mail Removed)> wrote in message
> >news:422F5A48-AA4A-499E-8929-(E-Mail Removed)...
> >> I'm in the middle of a macro to extrapolate a row of numbers and then use the
> >> numbers as a basis to extrapolate more information. I'm trying to delete all
> >> the blank cells and cells with text in them, leaving behind only the numbers.
> >> Is this possible? The worksheet from which the column is pulled is
> >> formatted as general.
> >>
> >> Thanks,
> >> Mrs. Robinson
> >
>
|