Find text with different font.

J

Jiri Klement

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top