![]() |
|
#1
|
|||
|
|||
![]()
Try:
Code:
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey Dim oChr As Range Dim oRng As Word.Range For Each oChr In ActiveDocument.Range.Characters If oChr.Borders.OutsideLineWidth <> 0 Then If oChr.Previous.Borders.OutsideLineWidth = 0 Then oChr.InsertBefore ChrW(9660) End If End If Next End Sub |
#2
|
|||
|
|||
![]()
Awesome, you're amazing! it works perfectly thanks!
1 last thing, iv'e tried (but failed) to add on the code .size=8 .colour= 49407 .superscript = true (i keep screwing it up!) |
![]() |
Tags |
boarder, character border, insert |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Marrick13 | Word VBA | 14 | 12-11-2013 09:12 PM |
![]() |
l39linden | Word Tables | 5 | 10-04-2013 02:06 AM |
![]() |
anacond11 | Word | 2 | 08-08-2013 08:10 AM |
![]() |
tinfanide | Word | 4 | 10-27-2012 06:35 AM |
![]() |
oluc | Word VBA | 4 | 11-21-2010 08:10 AM |