I have some Outlook VBA code which executes when I add an event to my Outlook calendar. The code makes use of the google calendar API to send the event information to google. Google them updates my google calendar. I also have code which, when I delete an event from my Outlook calendar, will send a DELETE to google through the calendar API. Google then deletes the event from my google calendar. This code works perfectly.
Now I need to write the VBA code which will send recurring event data to google. Is there a simple way to send this information? Is there an online service that I can send information to and have an RRule string generated? Do I have to build the RRule string manually?
Thank you.
If you deal with Office365 account you may consider using the Graph API directly without involving client applications like Outlook. For the Exchange on-premise you may consider using Exchange Web Services, see Start using web services in Exchange for more information.
If you need to end up with a client-side solution you may consider creating a VSTO based add-in (COM add-in) which can sync everything with your system. See Walkthrough: Create your first VSTO Add-in for Outlook to get started quickly. VBA was not designed for distributing solutions on multiple machines.
Related
I have old outlook add-in (COM/VSTO). And I have new one with office.js.
Is it possible to use old one from new one?
Basically I want to imitate left click action on old plugin from new plugin code.
Thank you
Office.js API doesn't have functionality to directly communicate to the COM/VSTO technology add-ins. You may share certain message data and/or user properties as described at How to share user roaming settings between Outlook COM/VSTO and Office JS Add-in, but nothing more.
If you have strong business case and this is something you would like to see in upcoming Office.js releases, you may post your suggestion at officespdev.uservoice.com
I'm looking to develop an Outlook Add-In, in which I receive a meeting room request and propose another room based upon conditions relating number of participants and size of the other rooms. I'm attempting to do this using a VSTO Add-In in C#.
My problem comes in the algorithm to determine the list of rooms and which room is smaller. From research, I can see that Outlook incorporates a number of RESTful APIs (https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations). However, I'm running into roadblocks in terms of how to call the APIs and how to get their data.
Is this possible in a VSTO add-in? If so, how could I get and store a list of the meeting rooms in Outlook using the REST APIs? I know there are other types of add-ins but I'm unfamiliar with Javascript and thus I'd like to stay with C#.
We recommend using the web add-in framework, instead of COM, for writing an Outlook add-in. The web add-in framework enables developers to:
Write once and have their add-in run across supported Outlook
clients enabling the add-in to reach millions of Outlook Desktop,
Outlook for Web, Outlook for Mac, and Outlook Mobile users.
Simplified deployment through the Office store, enabling users to acquire your add-in with a single click.
Access to user mailbox data via a rich REST based API set.
In addition to the benefits of the web add-in framework, Microsoft is not investing in new functionality on the COM platform. We understand COM add-ins may support different scenarios than the web add-in framework and thus are continually investing in the web add-in framework.
If you have any feedback or new functionality you would like to see available in the web add-in framework please let us know.
We track Outlook add-in feature requests on our user-voice page. Please add your request there.
[Outlook Add-ins Engineering Team]
I am attempting to create an add-in for outlook for where i work. The department in question use an in house built database application with a microsoft access front end built in vba.
Currently the team copy and paste information into the system. I have been tasked with creating an addin that will copy the necessary information such as
email address the email was sent from
Date & Time it was sent
message body
I have created the ribbon and have a button in place that currently displays "hello World".
Could anyone tell me how to get VB to read the information from the message? I have done some research on the internet but cannot find much information on this particular topic.
I would suggest you start here. This talks about how to do a lot of things with outlook using interop, which is the way you will need to work with it from a .Net addin.
How Do I... Outlook PIA Reference
I used http://www.everythingaccess.com/tutorials.asp?ID=Outlook-Send-E-mail-Without-Security-Warning , to finish my first ms access vba app that sends multiple notifications via outlook, without security pop-up. Now I want to make a WEB BASED version of it. So, using asp.net & mysql instead of vba & access raises certain questions.
When I comes down to it, what would be the difference of using (will post link below) vs installing VSTO runtime to run the outlook module I allready used in my first link?
Would you consider the "add-in" a more robust, integrated, easy approach since it seems I'd otherwise need to put the module of my first link in each users outlook install or am I just completely mistaken or is it a combination of both, please explain...
Click below for
2nd link of first post , outlook addin
I have a COM Outlook addin programmed in C++ (VS2005). I'm trying to see if within this addin I can get a random user or resource and see if it is available during a certain meeting time. Basically I'm trying to do something like getuseravailability() from the 2007 Exchange Web Service api listed below.
getuseravailability
Is this the only way to get this information? I've been looking through CDO, ADSI, MAPI and the Outlook object model but can't find anything else like it. I'm avoiding using web services because the Exchange Servers I run against may not have it enabled/ may not be Exchange 2007. And also, I'm hoping for a COM api easily integrated with the existing Outlook COM addin, was really hoping for an OOM solution.
Am I wrong or would the webservices sdk require .net to be installed on the machine running the addin as well?
I believe I've found a way to do this with CDO. Will be trying a sample app for this to see if it does what I think it does.
http://msdn.microsoft.com/en-us/library/ms870482%28EXCHG.65%29.aspx
I didn't find this earlier because the MSDN library's default view doesn't easily let you browse through the table of contents for a section. You have to go into MSDNs preferences and choose "Classic View" to get the table of contents view on the left.