View Single Post
 
Old 05-30-2018, 02:19 PM
d4okeefe d4okeefe is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: Apr 2013
Posts: 77
d4okeefe is on a distinguished road
Default Normal template Footnote Separators

I'm using Word 2016. How can I change the footnote separator (and continuation separator) with VBA?

When the separator is reset with the following ...

Code:
ActiveDocument.Footnotes.ResetSeparator
... a line appears. I want to edit the length of that line. But I can't figure out what it is. Is it an inline shape? Or something else?

Do I have to delete that line and create my own? If so, it would be helpful to know how to recreate a horizontal line with similar properties. Right now I have:

Code:
Dim horiz_line As InlineShape
d.Footnotes.separator.Style = "Footer"
Set horiz_line = d.Footnotes.separator.InlineShapes.AddHorizontalLineStandard
horiz_line.HorizontalLineFormat.NoShade = True
horiz_line.HorizontalLineFormat.WidthType = wdHorizontalLineFixedWidth
horiz_line.HorizontalLineFormat.Alignment = wdHorizontalLineAlignLeft
horiz_line.Width = PicasToPoints(5)
horiz_line.Height = 0.65
horiz_line.Shadow.ForeColor.RGB = 0
horiz_line.Borders.OutsideLineStyle = wdLineStyleSingle
Reply With Quote