Delete Row Based On Row Height
When you said you made some changes to the "Test" wbk, What changes?
Specifically, did you change any heights?
If not, this is a guess: the report generator may have made the row height
something like 27.75443 which is rounded off when you look at the height.
If such is the case you might try something like
.rowheight26
in your if statement.
" wrote:
THANKS for the quick responses all!
I am using anonymousA's "deleterow" code and am having trouble getting
it work properly the worksheet I mentioned earlier - it runs, does not
error out, and does not delete the rows it is supposed to - it seems to
not do anything.
However, I copied and pasted the main worksheet into a NEW worksheet,
adjusted some of the row heights to 27.75 in the new worksheet, ran the
macro, and it did the job perfectly.
So now, a new question: why doesn't it work properly in the main
worksheet? Perhaps some attributes need to be altered in the main
worksheet so that it can work properly?
Some background: the main worksheet originated from a report
generating program called Impromptu. Impromptu allows you to save the
report as an .XLS file, which I did.
In addition: both worksheets I am referring to are in the same
workbook.
Any ideas?
THANKS AGAIN!
- Kobi
|