|
-
May 2nd, 2002, 07:33 AM
#1
Thread Starter
New Member
Format borders in Excel sheet
I am trying to get VB to format borders in an Excel sheet.
Why isn't the following code working?
Dim xlEdgeBottom
Dim xlDouble
Dim xlThick
xlEdgeBottom = 1
xlDouble = 1
xlThick = 1
Set Range1 = Sheet5.Range("A1", "C1")
With Range1.Borders(xlEdgeBottom)
.Linestyle = xlDouble
.Weight = xlThick
End With
Does anyone have any tips on links or other codes (border style, etc)
THX
Humty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|