Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-20-2017, 03:53 PM
onlywonderboy onlywonderboy is offline Replacing formatted bullet points as a plain text character? Windows 7 64bit Replacing formatted bullet points as a plain text character? Office 2013
Novice
Replacing formatted bullet points as a plain text character?
 
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
 

Tags
macro, replace, special characters



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing formatted bullet points as a plain text character? Adding bullet points to rich text control dpashley Word 1 09-21-2016 08:59 AM
Help With Bullet Points In Powerpoint Phil_CF PowerPoint 2 09-10-2016 03:12 AM
Replacing formatted bullet points as a plain text character? Trouble using bullet points / sub bullet points within Word 2013 Mr Davo Word 2 04-18-2016 04:31 PM
Replacing formatted bullet points as a plain text character? Bullet Points in text boxes caz46 PowerPoint 2 11-17-2013 06:18 AM
Replacing formatted bullet points as a plain text character? Bullet points with text? jjmclell Word 2 03-01-2013 11:42 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:38 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