select text with a yellow background color

M

Marjorie

Hello!

I have to work with a series of .doc files that have been created partly
with MS Word, partly with OpenOffice Writer (each file has been opened
and typed on each software).

I need a macro to extract fromthese docs every portion of text that is
highlighted.

It works pretty well for the text that have been highlighted in MS Word,
with Selection.Find.Highlight = True etc, BUT when, in the same file,
another portion of text has been highlighted in OpenOffice, the macro
doesn't extract it.
It appears that the text highlighted in OOffice, though displayed the
same way, is not considered as highlighted text, but as text with a
transparent yellow background color...

I didn't manage to find out how to select text with a particular
transparent background color in VBA, but I'm quite new to this language...

Would you have any idea of a way to solve this?
Thanks in advance!
Marjory
 

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