Home |
Search |
Today's Posts |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
Sub InsertBorderline() StartLine = 20 EndLine = 100 For r = StartLine To EndLine Step 20 With Rows(r).Borders(xlEdgeBottom) .LineStyle = xlContinuous .Weight = xlThin .ColorIndex = xlAutomatic End With Next End Sub Regards, Per "Adamp" skrev i meddelelsen ... I need a macro for inserting a border line every 20 rows. i have tried to record this, but I went wrong. Very wrong. It's a bottom border line. (I posted this before, but now I cannot find it). Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Help- Inserting Blank Rows | Excel Discussion (Misc queries) | |||
Macro needed for inserting blank rows | Excel Worksheet Functions | |||
INserting Specific Number of Rows via macro | Links and Linking in Excel | |||
10 000 Line, every 2 Lines need a border and a open line inbet. e. | Excel Discussion (Misc queries) | |||
Inserting Blank Rows Macro? | Excel Worksheet Functions |