Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / August 2005

Tip: Looking for answers? Try searching our database.

Word Remove Nonprintable characters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
metflunky - 22 Aug 2005 18:25 GMT
I have characters that look like little boxes in my text in Word. The text is
being brought in from a mainframe download. I want to get rid of these
characters but I can't seem to figure out how.
Jezebel - 22 Aug 2005 21:54 GMT
Work out what character(s) they represent. Select one, then switch to VBA
and in the immediate window use: ? Asc(Selection). That tells you the code
of the first character in the selection. Then use Find and Replace to delete
that character: Search for ^nnn (where nnn is the character number); replace
with nothing.

>I have characters that look like little boxes in my text in Word. The text
>is
> being brought in from a mainframe download. I want to get rid of these
> characters but I can't seem to figure out how.
metflunky - 23 Aug 2005 13:59 GMT
That's awesome, it worked perfectly. Thank you very much.

> Work out what character(s) they represent. Select one, then switch to VBA
> and in the immediate window use: ? Asc(Selection). That tells you the code
[quoted text clipped - 6 lines]
> > being brought in from a mainframe download. I want to get rid of these
> > characters but I can't seem to figure out how.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.