Consulting

Results 1 to 3 of 3

Thread: Put selected text from an email message into a text variable

  1. #1

    Put selected text from an email message into a text variable

    Is there a way in Outlook VBA to assign a string variable to text that is selected in an email message?

    In Word VBA I can do this:

    Dim Body as String
    Body = Selection

    I tried adding a reference to the Microsoft Word Object Library in the Outlook VBA editor, but it did not work.

  2. #2
    i got this all wrong
    Last edited by westconn1; 03-14-2014 at 04:29 AM.

  3. #3
    i finally found this is relatively simple, posted in your previous thread as it was better to use your basic code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •