![]() |
|
|
|
#1
|
||||
|
||||
|
I would draw all the lines you want and then label them so they can be individually treated. Then you can flip their 'visibility' property with your code. This is far easier as you don't need to fiddle with their endpoint locations and colours/width/pattern etc in your code.
An example showing how easy it is to toggle visibility on a couple of lines is below Code:
Sub HideALine()
With ActiveDocument
.Shapes(1).Visible = Not .Shapes(1).Visible
.Shapes(2).Visible = Not .Shapes(2).Visible
End With
End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Getting the line numbers in the footer to line up...?
|
dwarsement | Word | 3 | 07-01-2015 01:17 AM |
get rid of line above page numbers at bottom of pages.
|
Joanrichmond | Word | 1 | 02-11-2014 12:57 PM |
Connecting text to numbers
|
microsoftnovice | Excel | 2 | 10-31-2012 10:43 AM |
Add line numbers to end of each line
|
deboo | Word | 6 | 08-20-2012 07:35 PM |
How to paste into another app without line numbers?
|
Moonf4 | Word | 1 | 04-18-2011 03:16 PM |