macro for highlighted text extraction and pasting notes

M

mark

Macro or other option??? Please, can anyone help me?

Im not sure but Ive been told I want to write a macro for
word 2002 that:

finds and replaces, (actually copies) my differently
colored highlighted text from

word 2002,
powerpoint 2002,
and Adobe .pdf (if possible)


documents and puts the extracted text into a word
2002 .doc file

My highlighted red and green and pink and blue and yellow
text with a

Table Of Contents

(TOC) that had indents levels:
1=red(article_headings),
2=green(article_issues),
3=pink(article_quotes),
4=yellow(article_references),
5=blue(my_issues),.

I'm reading lengthy articles and wish to highlight text
different colours depending upon the catagory heading,
issue, quote, refernce and my own bits added in. [perhaps
I cant add in my own bits with pdf but Ican still
highlight in those colors]

I want to be able to read and highlight different
catagories, say a word or two up to a whole paragraph.
Later, I want to be able to print off my highlighted
pieces in a TOC layout. The different colors would
correspond to a level.

Ideally, I would like to highlight and click a toolbar
button.

If I can assign a toolbar picture all the better.

Im running win xp home and Office xp. Any other
suggestions would be greatly appreciated including other
newsgroup. Hope someone can understand my question!

many thanks,

mark



PS DOES anyone know how I can get colored text
highlighting to work with iexplorer. (if you know what I
mean)
 
B

B

Small issue. PowerPoint (pre 2003 -- which isn't released yet) does not
highlight ... so pulling highlighted text from there may be problematic.

Otherwise, it sounds like you may get better answers by posting this
question on
microsoft.public.word.vba.general
newsgroup.

Sorry, this isn't more helpful.
B
 
S

Steve Rindsberg, PPTMVP

This would be a fairly massive undertaking.

Considering that you'd have to read and select text in other documents
anyway, wouldn't it make as much sense to copy/paste the text you want from
the source into Word and format it however you like there? A bit of clever
usage with heading styles would probably handle the color coding in the TOC
more or less automatically.

If you need a macro to extract all the text from a PPT file, this should
help:

Export Text to a text file (Mac or PC)
http://www.rdpslides.com/pptfaq/FAQ00274.htm

Because of the way PPT files are constructed by some users (logic? we don't
need no steeking logic!) there's no guarantee that the extracted text will
appear in the order you expect it to.

--

Steve Rindsberg PPT MVP
PPTLive ( http://www.pptlive.com ) Featured Speaker
PPTools: http://www.pptools.com
PPT FAQ: http://www.pptfaq.com
 
R

Rafa Lesp

That's a really good idea, Mark.

I'd like to do the same thing.

Have you got any further in your inquiries?

In the meantime, I'll do my own prospecting ...

/r.
 

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