Thread: Fake returns?
View Single Post
  #7  
Old October 10th, 2008, 11:01 PM posted to microsoft.public.word.formatting.longdocs
WilliamWMeyer
external usenet poster
 
Posts: 12
Default Fake returns?


"Klaus Linke" wrote in message
...
I know about this, and do it, but I'd like to able to control these
things without a human being having to look at the file.


Yes, that was the "low tech" approach g


I've been able to use VBA to cycle through a file character by character.
Typically for files that use Unicode chars, the chars used are within a
100-200 char unicode range. Once I've identified what that range is, then
I change the values my macro searches for to the values in that range.
But going char by char *and* going unicode value by unicode value through
the whole 6000-char range of unicode values would take a verrry long
time. Already, going char by char through the file takes pretty long.


Then maybe I have something a little more high-tech for ya (see code
below)...
If you'd rather put the results in an array and process it, instead of
printing it out at the end of the document, I'm sure you can adapt the
code.

Klaus



Wow. Thanks, Klaus.

I tried it, and saw the results. The Hex and binary stuff in the code are
beyond my depth right now, but I think I can use this as a jumping off point
for further exploration.

-WilliamW