Firstly, I got compile time error on the line of "Dim objWordDocument As Word.Document" , so I think that is my word issue, so I remove this line of codes (I don't think I need it),
then the code is running well, but nothing happened, the Google map is not launched at all.
I debugged the code, and found that this line code: strMeetingLocation = Replace(strMeetingLocation , " ", "-") may cause the problem, so I remove it,
and find the location of my calendar are passed in properly, and if I manually run the code
http://maps.google.com/maps?q= strMeetingLocation from my browser, the google map is opened with no problem, but it does not work within the code,
This is a client side solution which won't work on the server side (and is perhaps a bit outdated).
For now it seems you want a client side add-in so it should be rather
https://docs.microsoft.com/en-us/outlook/add-ins/ (and the market place likely provide this already even free, apparently there is a Bing Maps add-in)
Member
366 Points
2214 Posts
How to Map Meeting Location Directly within Outlook?
Jul 19, 2019 02:12 PM|Peter Cong|LINK
Hi All,
I am trying to Map Meeting Location Directly within Outlook following this example:
https://www.datanumen.com/blogs/map-meeting-location-directly-outlook/
the map is not launched,
Firstly, I got compile time error on the line of "Dim objWordDocument As Word.Document" , so I think that is my word issue, so I remove this line of codes (I don't think I need it),
then the code is running well, but nothing happened, the Google map is not launched at all.
I debugged the code, and found that this line code: strMeetingLocation = Replace(strMeetingLocation , " ", "-") may cause the problem, so I remove it,
and find the location of my calendar are passed in properly, and if I manually run the code http://maps.google.com/maps?q= strMeetingLocation from my browser, the google map is opened with no problem, but it does not work within the code,
Does anybody know why?
Much appreciated,
All-Star
48570 Points
18079 Posts
Re: How to Map Meeting Location Directly within Outlook?
Jul 21, 2019 12:14 PM|PatriceSc|LINK
Hi,
This is a client side solution which won't work on the server side (and is perhaps a bit outdated).
For now it seems you want a client side add-in so it should be rather https://docs.microsoft.com/en-us/outlook/add-ins/ (and the market place likely provide this already even free, apparently there is a Bing Maps add-in)