Thread: Border Problem
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Rick Rothstein \(MVP - VB\)[_1453_] Rick Rothstein \(MVP - VB\)[_1453_] is offline
external usenet poster
 
Posts: 1
Default Border Problem


You specified xlEdgeBottom for the the specific box surrounding A1:G19, not
all the edges for the various bordered areas inside. I think this should do
what you want...

Range("A1:G19").Borders.LineStyle = xlLineStyleNone

Rick


"Gary''s Student" wrote in message
...
In a worksheet, I have borders around cells C5 and E8 and F4 and each cell
in
D15:G19.

When I run:

Sub next_tryx()
Range("A1:G19").Borders(xlEdgeBottom).LineStyle = xlNone
End Sub

The only borders that get cleared are the ones on the last row (D19:G19).

Why not the others?
--
Gary''s Student - gsnu200773