Personally I'd think of it the other way,
adding borders where cell are
not blank. But it will work either way.
The way you're doing it, though, requires that you add borders to whatever cells might ever be populated. The CF will effectively remove those borders from blank cells.
If you're really dealing with something like 50 rows of data, you can disregard this next bit, but if you need to account for the possibility of lots of rows (hundreds or thousands), you'll actually use less overhead by adding a conditional formatting to entire columns rather than a range like A1:J10000.
So, to take it from the top, from the other point-of-view:
[ul][li]Select columns A:J[/li]
[ul][li]Make sure that A1 is the active cell[/li][/ul]
[li]Go to
Format > Conditional Formatting[/li]
[li]Change the first box to
Formula is[/li]
[li]Change the second box to [COLOR=blue white]=$A1<>""[/color] or [COLOR=blue white]=Not(IsBlank($A1))[/color] (if you might have formulas returning "" in column A)[/li]
[li]Press the
Format button[/li]
[li]Select the type of borders you'd like[/li]
[/ul]
Now whenever you type something into column A, borders will appear for all cells in columns A:J for that row.
[tt][blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]
Help us help you. Please read
FAQ 181-2886 before posting.