msccsascha's avatar
msccsascha
Copper Contributor
Sep 21, 2023
Status:
New

Office.js Outlook API - implement Range.Select capability

Currently, the Outlook Add-In API does not provide any method to select part of the text in a composing mail:
https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/apis

  • In Word, Excel, and PowerPoint this can be achieved by defining a  Range and calling .select() on it
    https://learn.microsoft.com/en-us/javascript/api/powerpoint/powerpoint.textrange?view=powerpoint-js-preview
    https://learn.microsoft.com/en-us/javascript/api/word/word.range?view=word-js-preview
    https://learn.microsoft.com/en-us/javascript/api/excel/excel.range?view=excel-js-preview

Please see similar issue posted on Stackoverflow:
https://stackoverflow.com/questions/61639373/how-to-select-text-in-an-outlook-mail-using-the-office-js-api

 

Would be nice to have this feature implemented!

1 Comment

  • rolandspetz's avatar
    rolandspetz
    Copper Contributor

    Hi, 

    This feature would be very beneficial for us to support an add-in for "New Outlook".