Copy+paste spesific lines

C

Caspar M Lund

Hi

I want to run a macro which selects the first to lines in a word doc and copy it to the subjectline in a distrbutionlist (file>send to...>person in distrubutionlist). The list will be sent to the same 3 persons every time

Can you help me

Best regard
Caspa
 
W

Word Heretic

G'day "Caspar M Lund" <[email protected]>,

If you use a .RoutingSlip object you can pre-set the distribution list
and merely fill in the subject each time before you .sendmail.

You get the subject using code like

activedocument.content.paragraphs(1).range.text


Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Caspar M Lund reckoned:
 

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