Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Word VBA
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Word VBA Discuss using VBA to program Word.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Word VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old July 30th, 2007, 04:37 AM
Registered User
Join Date: May 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default finding symbols

Can anyone give us sample code for finding symbols in a Word document? So that, for example, we can find all instances of a theta inserted using Insert/Symbol and change them to a greek pi.

Reply With Quote
  #2 (permalink)  
Old August 3rd, 2007, 11:27 AM
Friend of Wrox
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts

Just use the find and replace built into Word. The symbols are just characters in the font that makes the symbol for you for a given character.

So if you need a shadowed checkbox symbol, a lowercase q is inserted as WingDings.

Find the symbol in your document, and highlight it. the Font dropdown will change to the font for the highlit character. Then find out what character it is.

Using Find and replace, specify the font, the character, and match-case. Replace with the font and character that creates the symbol you are after.

In the example you gave, both are in the Symbol font. Theta is upper- or lowercase Q. Pi is upper- or lowercase P.

Symbols are nothing special; they're just characters.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Translating symbols to their unicode values Pankaj C XSLT 24 September 11th, 2007 03:35 AM
clearing unused symbols and objects nairaby Flash (all versions) 4 August 16th, 2007 02:41 PM
How to get list of Currencies (symbols/Name)? Jell VB.NET 0 June 22nd, 2005 05:48 AM
Symbols and Membership Types rgerald Forum and Wrox.com Feedback 9 August 13th, 2003 10:11 AM
trademark and registered symbols kikoyjr XML 3 July 25th, 2003 03:33 AM

All times are GMT -4. The time now is 06:56 AM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.