Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21237

Delete file from SharePoint

$
0
0
Do you know maybe how can I removed file from SH by VBa?

I know only how to connect and copy file:

Code:

Dim CopyString1 As String
Dim CopyString2 As String

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "V:", "http://........."

CopyString1 = INC_FILE
CopyString2 = "V:\......."

Shell "xcopy" & Chr(34) & CopyString1 & Chr(34) & " " & Chr(34) & CopyString3 & Chr(34) 'copy file


Viewing all articles
Browse latest Browse all 21237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>