使用 Excel 2007 VBA 将事件添加到 Google 日历

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17201975/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-11 21:46:16  来源:igfitidea点击:

Using Excel 2007 VBA to Add events into Google Calendar

excelvbagoogle-calendar-api

提问by Jammo

I've sought high and low and been unable to get this functionality working.

我一直在寻求高低,但无法使此功能正常工作。

All I'm after doing is, in Excel 2007, click a command button, and then VBA does the following:

我要做的就是,在 Excel 2007 中,单击一个命令按钮,然后 VBA 执行以下操作:

  • Connect to my Google account
  • Add an event / or multiple events into my google calendar (not personal, but a second calendar - with private urls/keys/etc)
  • 连接到我的 Google 帐户
  • 将一个事件/或多个事件添加到我的谷歌日历(不是个人日历,而是第二个日历 - 带有私人网址/密钥/等)

I've only managed to find couple of "examples" but with slight variances (eg, from MS Access, or using VB IDE)

我只找到了几个“示例”,但略有不同(例如,来自 MS Access,或使用 VB IDE)

Can anyone point me towards, or offer, a simple straight forward "Authenticate and Add Event" from Excel VBA?

任何人都可以指出或提供来自 Excel VBA 的简单直接的“身份验证和添加事件”吗?

Apologies for the rather vague question.

为这个相当模糊的问题道歉。

回答by Sudheej

Try to us Google Calendar API.. try integrating it with excel. Or you can create a connector application which links excel and the app that you created with this API

尝试使用Google Calendar API.. 尝试将其与 excel 集成。或者您可以创建一个连接器应用程序,该应用程序将 excel 和您使用此 API 创建的应用程序链接起来