Hi,
You should always insert here the exact code you tried, the error number and the message you received. Otherwise it is difficult to find out where the problem is.
Following your latest information, syntactically this should work:
Dim strDestFullPath As String
strDestFullPath = "Z:\CSC\MMOORE\ACCESS\Backup\PGA MATRIX 6-2022 Rep Version.accdb"
DoCmd.TransferDatabase acExport, "Microsoft Access", strDestFullPath, acTable, "Main Data", "Main Data"
If you still get an error it could e.g. be because the target drive is not accessible for Access. If you get something like that, test the code with a safe reachable path on C. If it works there and not with Z, then the problem is the access to the drive.
Servus
Karl
Access News
Access DevCon