我需要每周更改状态并为SharePoint中的约100个列表写入评论。我试图自动化它。我知道如何使用宏在编辑模式下打开它们,但我不知道如何改变状态或如何写一个宏的评论,任何想法?使用宏编辑分享点列表
这里是我的代码:
Sub TT()
Dim ie(40) As Object, obj As Object
Dim cislo As String
For i = 0 To 40
If Cells(i + 2, 1).Value = "" Then
Exit Sub
End If
Set ie(i) = CreateObject("Internetexplorer.Application")
ie(i).Visible = True
ie(i).Navigate "http://adress of sharepoint list .com"
Do While ie(i).Busy
Loop
Next i
End Sub
我认为下面的链接可以帮助您获得导向。 http://sharepoint.stackexchange.com/questions/11426/update-list-from-excel-using-vba – ryguy72
感谢您的回答,但我不认为,这就是我的意思。我不想在Excel中编辑列表,但在共享点。例如更改状态,添加注释等。 –