简体   繁体   English

从 Excel 2013 调用 WebEx Outlook AddIn

[英]Call WebEx Outlook AddIn from Excel 2013

I'm automating most of an Outlook calendar invite but struggling with calling a COM Addin.我正在自动执行 Outlook 日历邀请的大部分工作,但在调用 COM 插件时遇到困难。 I've figured out the ProgID to specify it correctly but can't see a way to list the available Objects.我已经找出 ProgID 以正确指定它,但看不到列出可用对象的方法。

Dim OutlookApp As Object, OutlookInvite As Object
Dim addIn As COMAddIn, automationObject As Object
Set OutlookApp = GetObject(class:="Outlook.Application") 
SDM = Sheets("Sheet1").Range("F2").Value
Set OutlookInvite = OutlookApp.CreateItem(1)
With OutlookInvite
    .MeetingStatus = 1
    .Subject = "foo"
    .Body = "bar"
    .Recipients.Add SDM
    .Start = Now()
    .Duration = 30
    .BusyStatus = 2
    .ReminderMinutesBeforeStart = 15
    .ReminderSet = True
    Set addIn = OutlookApp.COMAddIns("WebExOI.Addin")
    Set automationObject = addIn.Object
    automationObject.AddPersonalRoom
    .Display
End With

The AddPersonalRoom is just my best guess but it does nothing. AddPersonalRoom 只是我最好的猜测,但它什么也没做。 I'm missing a trick.我错过了一个技巧。

Including the webex personal room is easy and does not require the use of the webex plugin.包括 webex 个人会议室很容易,不需要使用 webex 插件。 Just include your personal room link, which you can get from opening your personal room in webex, going to meeting info and copying the link, and then just include in the meeting description/body field.只需包含您的个人会议室链接,您可以通过在 webex 中打开您的个人会议室、转到会议信息并复制链接来获得该链接,然后只需将其包含在会议描述/正文字段中。 The URL should be something like this. URL 应该是这样的。 https://.webex.com/meet/ https://.webex.com/meet/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM