Save files to OneDrive using Access VBA
Our systems are changing over to cloud storage so our personal drives will be vanishing soon, therefore I need to save applications to users OneDrives. This is new territory for me and what I am reading online is not making much sense. This is what I have so far: Set FileSystemObject = CreateObject("Scripting.FileSystemObject") Dim FileExistsbol As Boolean Dim stFileName As String Dim CopyFrom As String Dim CopyTo As String stFileName = "C:\Users\" & Environ("UserName") & "\OneDrive - Company" stFileName = Trim(stFileName) FileExistsbol = dir(stFileName) <> vbNullString If FileExistsbol Then K
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.