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 / June 2005

Tip: Looking for answers? Try searching our database.

Find text with different font.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jiri Klement - 22 Jun 2005 11:22 GMT
Hi,

I have a word document containg text with diffrent font. I need divide that
document into blocks, where each block will have the same font.
In other words, when the font is changed then new block should begin.

I can do that by getting font of each character, and when font is diffreent,
then just make a new block. But this is extremely slow. I takes 30 seconds on
document with 2 pages.

Do you think there is some faster way of doing this?

PS: I'm accessing Word using OLE objects. But this shouldn't be different
from VBA.

--
Jiri
David Sisson - 22 Jun 2005 22:12 GMT
Could we see the code you're currently using?
 
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.