![]() |
|
#1
|
||||
|
||||
![]() There is no 'horizontal line' object in Word. In Word, horizontal lines can be created as underlines, hyphens and the like, table cell borders, inlineshapes or shapes. Each kind would have to be tested for separately. Then you'd have to decide what kind of horizontal line you want to insert and how to place & size it as required.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
This is the code I am using to set the line.
Selection.ParagraphFormat.LeftIndent = InchesToPoints(1.4) ' Set the value of the indent Selection.InlineShapes.AddHorizontalLineStandard ' Add the line |
![]() |
Tags |
horizontal line |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Check for a horizontal line | NevilleT | Word VBA | 2 | 01-06-2016 11:50 PM |
smart art horizontal line | sgroves20 | Word | 0 | 11-05-2014 08:17 AM |
![]() |
mingming | Word | 1 | 09-14-2014 05:16 AM |
![]() |
nightkn8 | Word | 12 | 03-25-2013 02:06 PM |
![]() |
JamesT | Word | 3 | 10-29-2011 05:39 PM |