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 / November 2004

Tip: Looking for answers? Try searching our database.

Q: Hidden Text Bounds..

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Iroel Perez - 10 Nov 2004 18:31 GMT
Hello there,

I am looking for a way to find the segments of hidden text in a MS Word's
Paragraph. I wonder if there is a way to do it without iterating through
every single character's Font in the paragraph, which is IMO a very
inefficient way.

Any idea or hint is appreciated.

Thanks in advance,
-Iroel
Jezebel - 10 Nov 2004 21:28 GMT
You can use Word's own Find function, which is probably simplest. Make sure
hidden text is displayed, leave the Find field blank but select Formatting >
Font > Hidden.

For a more efficient VBA method, you can check the Hidden property of any
range (eg the entire paragraph) -- if the range contains *some* hidden text,
the property will return 999999 -- and thus you need to check further.

And for all that, checking each character may be inefficient, but it's still
extremely quick.

> Hello there,
>
[quoted text clipped - 7 lines]
> Thanks in advance,
> -Iroel
 
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.