Book2 | ||||||
---|---|---|---|---|---|---|
A | B | C | D | |||
1 | Field1 | Field2 | Field3 | Isbold | ||
2 | 2 | 4 | 9 | FALSE | ||
3 | 4 | 8 | 5 | FALSE | ||
4 | 8 | 7 | 5 | FALSE | ||
5 | 8 | 0 | 7 | FALSE | ||
6 | 3 | 4 | 3 | TRUE | ||
7 | 2 | 0 | 7 | FALSE | ||
8 | 2 | 1 | 5 | FALSE | ||
9 | 3 | 6 | 2 | FALSE | ||
10 | 0 | 3 | 2 | TRUE | ||
11 | 8 | 2 | 8 | FALSE | ||
12 | 9 | 8 | 2 | FALSE | ||
13 | 2 | 8 | 1 | TRUE | ||
14 | 9 | 7 | 6 | FALSE | ||
15 | 5 | 8 | 7 | FALSE | ||
16 | 9 | 7 | 6 | TRUE | ||
17 | 3 | 8 | 9 | FALSE | ||
18 | 7 | 0 | 1 | FALSE | ||
19 | 9 | 3 | 6 | FALSE | ||
20 | 7 | 8 | 1 | FALSE | ||
Sheet1 |
Juan Pablo González said:Just out of *safety*, I'd change a bit dk's function, like this:
<font face=Courier New>
<SPAN style="color:#00007F">Public</SPAN> <SPAN style="color:#00007F">Function</SPAN> Isbold(AnyCell <SPAN style="color:#00007F">As</SPAN> Range) <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Boolean</SPAN>
Isbold = AnyCell.Range("A1").Font.Bold
<SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Function</SPAN>
</FONT>
I should have used another word... what I was thinking is that if you pass something likedk said:...Not being argumentative, but what is safer with what you proposed? ...