Hi,
This code:
is producing a permission denied error when trying to move an XML files. (It seems to work for Excel files). I know that there is no permissions issue here because I can move the file outside of Access.Code:If [Forms]![Navi]![txtsql] = 1 Then Set FSO = CreateObject("Scripting.FileSystemObject") FSO.MoveFile "C:\Users\larry\Documents\Folder_01122016\" & strFile, _ "C:\Users\larry\Documents\FILE_FAILED\" End If
Do I need to close the XML file or something? If so, how?