View Single Post
 
Old 02-20-2017, 03:53 PM
onlywonderboy onlywonderboy is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Feb 2017
Posts: 5
onlywonderboy is on a distinguished road
Default Replacing formatted bullet points as a plain text character?

Hi all,

I'm working on a project for work and it entails doing several formatting tricks to a document. I got most of what I wanted up and running, but I'm having one final issue. I need the document to convert a bullet-ed list into plain text and then replace the bullets with a "-". I've used "ActiveDocument.ConvertNumbersToText" which gets me part of the way there, but the code I'm using to replace characters doesn't work for the bullet point. Here is what I'm trying to use.

Quote:
With Selection.Find
.ClearFormatting
.Text = "•"
.Replacement.ClearFormatting
.Replacement.Text = " - "
.Execute Replace:=wdReplaceAll, Forward:=True, _
Wrap:=wdFindContinue
End With
This code works for all the other characters I've used it for (®,©,™) but it doesn't seem to want to work for •. Any help would be appreciated, thanks!
Reply With Quote