Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Excel 使用宏编辑sharepoint列表_Excel_Sharepoint_Vba - Fatal编程技术网

Excel 使用宏编辑sharepoint列表

Excel 使用宏编辑sharepoint列表,excel,sharepoint,vba,Excel,Sharepoint,Vba,我每周需要更改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

我每周需要更改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

这些教程应该给你你需要知道的东西…非常好,做得很好,它们向你展示了如何通过Listobjects和SQL来实现


这里有一系列13个视频。

我认为下面的链接将帮助您了解情况。谢谢你的回答,但我不认为,这就是我的意思。我不想在excel中编辑列表,但想在sharepoint中编辑列表。例如更改状态、添加评论等。非常感谢,这非常有帮助,解决了我的问题problems@L.Horvath没问题,如果一切顺利,请将其标记为正确答案!