none
Outlook Message Item From Template - with Book Marks RRS feed

  • Question

  • Hello Everyone,

    I'm doing a real horrible search or I'm not searching or the write thing here. I have an outlook template file with bookmarks that I need to edit.

    My ultimate goal is to create an outlook item from a template,

    Modify a few fields in the template. Three bookmarks there and I can't seem to access them.

    Could anyone help.

    I have the references to outlook and Word in my application but I'm not finding the book marks. I don't have code because none of the code I write accesses the bookmarks.

    I tried to use the Outlook inspector but no luck there.

    Thursday, November 21, 2013 6:25 PM

Answers

  • Are these WordMail bookmarks? Inspector.WordEditor is a Word.Document object and can be cast as that. That should give you access to the Bookmarks collection of the document, if I understand what you're asking.

    Ken Slovak MVP - Outlook

    Thursday, November 21, 2013 7:54 PM

All replies

  • Are these WordMail bookmarks? Inspector.WordEditor is a Word.Document object and can be cast as that. That should give you access to the Bookmarks collection of the document, if I understand what you're asking.

    Ken Slovak MVP - Outlook

    Thursday, November 21, 2013 7:54 PM
  • Thanks,

    I found that if I cycle through the bookmarks I can get them by name and change the values that way.


    Iridious

    Wednesday, December 4, 2013 8:49 PM