Using an Office Script in OWA, transferring an old VBA setup

Foss, Buck L 20 Reputation points
2023-10-23T22:23:24.23+00:00

I see the writing on the wall that eventually all Outlook services seem to be moving to the OWA version. That's fine, I find much of it pleasing. However, I had a simple VBA script that I want to transfer over to use on OWA and am a bit stumped at the moment as to how to do that.

I started by trying to understand Office Scripts, but everything in MS Learn talks about using them in Excel. I want OWA. So first question, are there Office Scripts for OWA and if so, where is documentation that can help me learn how to write them and implement them?

For the full tamale, my VBA script is very simple. When I hit the "send" button on an outgoing email, it not only deposits that email in the "sent" folder, but also brings up the popup box asking what additional folder I want to copy that sent email to. This way, I file and organize as I go. It was a standard Lotus Notes thing, may they rest in peace. Any hints on how to do this in OWA?

Was going to ask how to do this, but Q&A tells me that scripts are not available for OWA and to keep using the desktop version. OK, but then, when will Office Scripts be available for OWA?

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Microsoft 365 and Office Development Office JavaScript API
Microsoft 365 and Office Development Other
Outlook Windows Classic Outlook for Windows For business
0 comments No comments
{count} votes

Accepted answer
  1. Marc Maynard Alfaro 85 Reputation points
    2023-10-24T03:13:44.6866667+00:00

    Office Scripts are indeed available for Excel on the web, but they are not available for Outlook on the web (OWA). Unfortunately this means you cannot directly transfer your VBA script to Office Scripts in OWA.

    While Microsoft has been making efforts to bring more automation capabilities to OWA, such as through add-ins and the new Outlook REST API, it's important to note that these are different technologies and may not offer the same level of customization and automation as VBA or Office Scripts in Excel. But Microsoft regularly updates its products and services. I recommend checking the latest Microsoft documentation or announcements for any updates on the availability of Office Scripts for Outlook on the web. Microsoft's official website, developer documentation, or community forums are good places to stay updated on any developments in this area.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.