Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Macro to add horizontal double-border to single cell
Hi all,
I am trying to modify a macro that I found online to apply a horizontal double-border to a single cell but I am not getting anywhere. Can someone please help? Starting point - http://support.microsoft.com/default.aspx/kb/209216 Thanks!!! |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
Macro to add horizontal double-border to single cell
I just re-read my post and perhaps I wasn't too clear. The macro I found
applies a double-line border all around the cell. I want the border applied horizontally on the bottom only. Thanks |
#3
Posted to microsoft.public.word.tables
|
|||
|
|||
Macro to add horizontal double-border to single cell
The following macro applies a double underline to the bottom of the selected
cell (if more cells are selected, the border is only applied to the first cell): Sub BorderCell() If Selection.Information(wdWithInTable) Then 'Apply double bottom border to table cell With Selection.Cells(1).Borders(wdBorderBottom) .LineWidth = wdLineWidth050pt .LineStyle = wdLineStyleDouble End With Else MsgBox "Insertion point is not in a Word table" End If End Sub -- Regards Lene Fredborg DocTools - Denmark www.thedoctools.com Document automation - add-ins, macros and templates for Microsoft Word "jlarge" wrote: Hi all, I am trying to modify a macro that I found online to apply a horizontal double-border to a single cell but I am not getting anywhere. Can someone please help? Starting point - http://support.microsoft.com/default.aspx/kb/209216 Thanks!!! |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Cell Bottom-Border becomes Upper-Border on Next Page | Tables | |||
Double border lines in table when single selected | Microsoft Word Help | |||
how do i make a horizontal line for a double entry paper? | Microsoft Word Help | |||
Paragraph styles lose horizontal border separation | Microsoft Word Help | |||
How do I get a bottom (horizontal) border for my footnote | Page Layout |