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 2003

Tip: Looking for answers? Try searching our database.

Using Find/Replace with User Information

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gopher - 30 Aug 2003 14:58 GMT
I need to be able to get an address from Word's User Information and
replace carriage returns with wingding symbols.  Whenever I try to do
this, I get 2 garbage characters.  For the life of me I can't figure
out what they are.  They aren't CHR 10 and/or 13.

Any help would be appreciated.

Jean
Helmut Weber - 30 Aug 2003 20:24 GMT
Hi Jean,
here you are in the middle of history of text processing,
it seems, as my macro recorder tells me, returns in
Application.UserAddress are coded as Chr(13) & Chr(10).
To avoid complications, I would suggest to put
Application.UserAddress into a string,
remove chr(10), paste the string and replace chr(13)
after pasting. If you need help on removing chr(10)
from the string, let us now.
Besides that, what would replacing chr(13) by any
wingdings character be good for?
Greetings from Bavaria, Germany
Helmut Weber
"red.sys" & chr$(64) & "t-online.de"
Word 97, NT4.0
 
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.