Html 写入live.com日历

Html 写入live.com日历,html,excel,calendar,vba,Html,Excel,Calendar,Vba,我想将excel电子表格中的日历条目写入live.com日历 我使用VBA,基本上成功了,我可以写开始日期和结束日期,我可以添加说明,一切都很好 但是,我无法计算出如何编写开始和结束时间。如果我把时间写进文本,它基本上被忽略了。如果我查看正在写入的页面,数据输入框消失,时间显示为文本,但被忽略 有人能帮忙吗 ' GoToPage takes me to the right web paage and logs me in if necessary and sets HTMLDoc up. Go

我想将excel电子表格中的日历条目写入live.com日历

我使用VBA,基本上成功了,我可以写开始日期和结束日期,我可以添加说明,一切都很好

但是,我无法计算出如何编写开始和结束时间。如果我把时间写进文本,它基本上被忽略了。如果我查看正在写入的页面,数据输入框消失,时间显示为文本,但被忽略

有人能帮忙吗

' GoToPage takes me to the right web paage and logs me in if necessary and sets HTMLDoc up.

GoToPage("calendar.live.com/calendar/calendar.aspx?rru=addevent")


HTMLdoc.all.Item("__livecal_id2").Value = Str(fromdate)

HTMLdoc.all.Item("ns10_startTime").Text = "16:00:00" ' doesn't do what I expect

HTMLdoc.all.Item("ns10_durationSelect").Value = "Custom"

HTMLdoc.all.Item("__livecal_id3").Value = Str(todate)

HTMLdoc.all.Item("ns10_endTime").Text = "10:00:00"

HTMLdoc.all.Item("ns10_whatField").Value = who

HTMLdoc.all.Item("ns10_saveButton").Click