Una famiglia di sistemi di gestione per database relazionali di Microsoft progettati per semplificare l'uso.
Crea una tabella chiamata "T_Opzioni" con un campo di tipo testo denominato "Percorso" nel quale inserisci il path della tua cartella, all'ID=1 corrisponderà "**c:\test**", all'ID= 2 un altro percorso, etc... e prova a modificare così:
'Const strParent = "c:\test"
Dim strParent As String
Dim strClienteID As String
Dim strFolder As String
Dim fso As Object
strParent = DLookup("Percorso", "T_Opzioni", "ID = 1")
' Get Cliente ID from control
strClienteID = Me.T_ANAC_ID
' Full path
strFolder = strParent & strClienteID
' Create FileSystemObject
Set fso = CreateObject("Scripting.FileSystemObject")
' Check whether folder exists
If fso.FolderExists(strFolder) = False Then
' If not, create it
fso.CreateFolder strFolder
End If
' Open it
Shell "explorer.exe " & strFolder, vbNormalFocus
Ciao