I am trying to find (Word 2000) thin spaces in a file, but it does not find those within textboxes contained in the file. What is the solution?
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Finding Special characters in Textboxes
Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Finding Special characters in Textboxes
- This topic has 6 replies, 2 voices, and was last updated 24 years, 2 months ago.
Viewing 1 reply threadAuthorReplies-
WSRajesh
AskWoody Lounger -
WSGary Frieder
AskWoody LoungerApril 11, 2001 at 4:35 am #522382Rajesh,
I was about to try for a macro to do this, but it looks like the following works:
Click insertion point at the beginning of the first linked textbox. Do a Find/Replace All from there – this will run through the entire group of linked textboxes in one pass.
Just out of curiosity – how are you inserting a thin space, and how are you doing a find on it?
Gary
-
WSRajesh
AskWoody LoungerApril 11, 2001 at 11:44 am #522443Thanks, Gary, for your valuable input.
I know I need to go to every group of linked textboxes and do it — that is what I did ultimately. That was the pain I wanted to avoid, because I wanted to create a macro which could run on a batch of Word 2000 files and remove thin spaces which are not supported in Word 97, and save as RTF for conversion to Word 97.
A thin space is Unicode No 8197 (in ANSI, both a thin space and a keyboard space have place value of 32) and pasting a thin space from Clipboard into the Find Box seems to work.
Replacng a thin space is another problem. I use ^c in the replace box after copying a thin space to clipboard before running the s & r operation — clumsy, but it works.
-
WSGary Frieder
AskWoody LoungerApril 11, 2001 at 10:35 pm #522576Hi,
In case it’s any help, the following macro can be used to do Find/Replaces in all textboxes in a document; however it will error if any of the textboxes are grouped.
Sub GetToTextBoxText() 'Gary Frieder April 2001 'Warning: this code will error if there are grouped text boxes Dim aShape As Shape Dim objTxtRng As Range For Each aShape In ActiveDocument.Shapes Set objTxtRng = aShape.TextFrame.TextRange With objTxtRng With .Find .ClearFormatting .Replacement.ClearFormatting .Text = "FindText" .Replacement.Text = "ReplaceText" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False .Execute Replace:=wdReplaceAll End With End With Next aShape End Sub
Gary
-
WSRajesh
AskWoody Lounger
-
-
-
-
-
WSGary Frieder
AskWoody LoungerApril 6, 2001 at 6:33 pm #521897You should be able to do this via a macro, where you set a range to the wdTextFrameStory and then do the find on that range.
(I’ll try to post a code sample when I get a few moments later, if that helps.)
(And I also remember an earlier macro that did something like this, that ran into complications when it encountered grouped textboxes – not sure what complications linked textboxes might introduce…)
Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Is it Local or is it Microsoft Account?
by
RetiredGeek
1 hour, 32 minutes ago -
Does Your State Reveal Who’s Been Hacked?
by
Nibbled To Death By Ducks
12 hours, 20 minutes ago -
A one-year extension to Windows 10 — almost free!
by
Susan Bradley
1 hour, 9 minutes ago -
Windows Configuration Update (KB5062324) – June 2025
by
Alex5723
12 hours, 16 minutes ago -
A federal judge sides with Anthropic in lawsuit over training AI
by
Alex5723
17 hours, 13 minutes ago -
Name of MS Word Formatting Feature
by
John Baum
6 hours ago -
InControl Failure?
by
Casey H
4 hours, 23 minutes ago -
Microsoft : Free 1 year support for Windows 10 after EOL
by
Alex5723
6 hours, 5 minutes ago -
MS-DEFCON 3: Businesses must tread carefully
by
Susan Bradley
7 hours, 29 minutes ago -
McLaren Health Care says data breach impacts 743,000 patients
by
Nibbled To Death By Ducks
1 day, 16 hours ago -
WhatsApp banned on House staffers’ devices
by
Alex5723
1 day, 11 hours ago -
Is your device eligible?
by
Susan Bradley
1 day, 19 hours ago -
Windows 11 Insider Preview build 26200.5661 released to DEV
by
joep517
2 days, 1 hour ago -
Windows 11 Insider Preview build 26120.4452 (24H2) released to BETA
by
joep517
2 days, 1 hour ago -
Hello Windows…My Problem is Windows Hello…
by
rdleib
2 days, 2 hours ago -
New Canon Printer Wants Data Sent
by
Win7and10
2 days, 2 hours ago -
I set up passkeys for my Microsoft account
by
Lance Whitney
1 hour, 9 minutes ago -
AI is for everyone
by
Peter Deegan
2 days, 2 hours ago -
Terabyte update 2025
by
Will Fastie
1 day, 20 hours ago -
Migrating from Windows 10 to Windows 11
by
Susan Bradley
3 hours, 50 minutes ago -
Lost sound after the upgrade to 24H2?
by
Susan Bradley
20 hours, 52 minutes ago -
How to move 10GB of data in C:\ProgramData\Package Cache ?
by
Alex5723
1 day, 5 hours ago -
Plugged in 24-7
by
CWBillow
2 days, 11 hours ago -
Netflix, Apple, BofA websites hijacked with fake help-desk numbers
by
Nibbled To Death By Ducks
3 days, 14 hours ago -
Have Copilot there but not taking over the screen in Word
by
CWBillow
3 days, 12 hours ago -
Windows 11 blocks Chrome 137.0.7151.68, 137.0.7151.69
by
Alex5723
5 days, 6 hours ago -
Are Macs immune?
by
Susan Bradley
8 minutes ago -
HP Envy and the Function keys
by
CWBillow
4 days, 13 hours ago -
Microsoft : Removal of unwanted drivers from Windows Update
by
Alex5723
2 days, 7 hours ago -
MacOS 26 beta 1 dropped support for Firewire 400/800
by
Alex5723
5 days, 17 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.