M
marc.derider
I have some clients who e-mail me and their e-mail comes out as
<excerpt><bold><color>. I'm sure it's a pretty common occurrence.
What I would like to do is create a little macro such that I could
select text, press a hot key, edit the message and take the selection
and replace it with something else, in this case it would be the same
text with the text stripped of its ugly formatting tags.
I am looking for the quickest way to
1) Bind a VBA Macro to a hotkey.
2) Get the Active E-Mail Message
3) Get the Selection text inside of it.
4) Be able to toggle the Edit Message so that the message is
editable.
5) Replace the selection - should be trivial once I get a reference
to the actual selection text.
6) Save the message - probably trivial once I figure out how to
edit the message.
Where would be the best place to find information on how to do the
above? Any sample code, informative sites that go beyond Microsoft's
wonderful but virtually useless help files.
Thanks in advance.
<excerpt><bold><color>. I'm sure it's a pretty common occurrence.
What I would like to do is create a little macro such that I could
select text, press a hot key, edit the message and take the selection
and replace it with something else, in this case it would be the same
text with the text stripped of its ugly formatting tags.
I am looking for the quickest way to
1) Bind a VBA Macro to a hotkey.
2) Get the Active E-Mail Message
3) Get the Selection text inside of it.
4) Be able to toggle the Edit Message so that the message is
editable.
5) Replace the selection - should be trivial once I get a reference
to the actual selection text.
6) Save the message - probably trivial once I figure out how to
edit the message.
Where would be the best place to find information on how to do the
above? Any sample code, informative sites that go beyond Microsoft's
wonderful but virtually useless help files.
Thanks in advance.