Hi,
if there are no blank cells within the currentregion, using specialcells will return an error, which is why the line
is used.
The formula "=R[-1]C", which is applied on the blank cells, will give you a reference to the next cell (one row up). If row 1 withing the currentregion is blank, consider changing changing the code for defining the range area -- you may also want to limit this to specific columns?
another alternative that does the same,
hope it helps -- on vacation so maybe not the most detailed post..
cheers, berlan
Bookmarks