And I just learned something new. I did not realize that my original code did
not remove the diagonals. That being said I can honestly say I have never
used the diagonals... but if I ever do... Thanks Gord
> To account for diagonals revise to this.
>
[quoted text clipped - 13 lines]
> >Range("A1:B50").Borders.LineStyle = xlNone
> >end sub
Not only doesn't it remove diagonals, it adds diagonals to cells in the range
that don't originally have them.
Set A1:B10 with cell borders and include diagonals.
Run your original macro.
Clears the outside and interior borders in A1:B10 but leaves the diagonals and
also adds them to A11:B50
Note: the diagonals are actually doubled up so if you go to Format>Cell>Borders
you have to click twice to clear them.
Not nice and definitely weird<g>
Gord
>And I just learned something new. I did not realize that my original code did
>not remove the diagonals. That being said I can honestly say I have never
>used the diagonals... but if I ever do... Thanks Gord
Jim Thomlinson - 21 Nov 2007 22:04 GMT
Spookey... This one darn near fits into JWalk's XL oddities.
This has re-affirmed my desire to just never use diagonals. That being said
many moons from now I am going to break down and use them for some obscure
reason and my code will mess them up. On that day I will (vaguely) recall
this conversation with a sense of (told you so)...

Signature
HTH...
Jim Thomlinson
> Not only doesn't it remove diagonals, it adds diagonals to cells in the range
> that don't originally have them.
[quoted text clipped - 16 lines]
> >not remove the diagonals. That being said I can honestly say I have never
> >used the diagonals... but if I ever do... Thanks Gord