Your code is very technical for an access newbie like me.You would use FSO (File System Object) to create folders. Open any code module and go to Tools/References. Select a reference to
Microsoft Scripting Runtime
Code:'''' needs reference to Microsoft Scripting Runtime Dim fs As Scripting.FileSystemObject Set fs = CreateObject("Scripting.FileSystemObject") NewFolderName = DLookup("ScannedDocPath", "tblAuditParms", "CoAbbr = '" & sCoAbbr & "'") 'create folder for coabbr if necessary If fs.FolderExists(NewFolderName) Then Else fs.CreateFolder (NewFolderName) End If
I don't know which part that I should replace my own info.
ScannedDocPath??? tblAuditParm??? ...