T
tehwa
Hi,
I wish to loop through the first column of a workbook, and delete any
rows that do not have a number in them.
I have the looping sorted, but for the life of me I can't find a way
for excel to detect a number:
//look through the sheet for rows that do not begin with a number
...If Cells(counter, 1).Value <> ...?
// where "...?" = a number.
// delete teh row
Rows(counter).Delete
Can anyone tell me how to define this in the formula, is there some way
of sayaing:
<> (1 To 1000)
i have done some searching, and tried many different things, to no
avail.
Thanks in advance,
tehwa
I wish to loop through the first column of a workbook, and delete any
rows that do not have a number in them.
I have the looping sorted, but for the life of me I can't find a way
for excel to detect a number:
//look through the sheet for rows that do not begin with a number
...If Cells(counter, 1).Value <> ...?
// where "...?" = a number.
// delete teh row
Rows(counter).Delete
Can anyone tell me how to define this in the formula, is there some way
of sayaing:
<> (1 To 1000)
i have done some searching, and tried many different things, to no
avail.
Thanks in advance,
tehwa