Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-08-2014, 06:15 AM
gmaxey gmaxey is offline Search for character border = true ? Windows 7 32bit Search for character border = true ? Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,635
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

I could be wrong, but I don't think .border returns true or false. Maybe something like this:

Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oChr As Range
  For Each oChr In ActiveDocument.Range.Characters
    If oChr.Borders.OutsideLineWidth <> 0 Then
    oChr.InsertBefore ChrW(9660)
    End If
  Next
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 

Tags
boarder, character border, insert



Similar Threads
Thread Thread Starter Forum Replies Last Post
Search for character border = true ? True Title Case for First Row of All Tables Marrick13 Word VBA 14 12-11-2013 09:12 PM
Search for character border = true ? Aligning Page Border with Table border without losing formatting :mad: l39linden Word Tables 5 10-04-2013 02:06 AM
Search for character border = true ? Character based Search and Replace font size anacond11 Word 2 08-08-2013 08:10 AM
Search for character border = true ? How to change the color of Character Border? tinfanide Word 4 10-27-2012 06:35 AM
Search for character border = true ? Macro not staying true oluc Word VBA 4 11-21-2010 08:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:22 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft