The (VBA)project name is independent of the file name, which is a huge benefit when your file name is something like "Diabetes_Backup_20241010_RestoredToRecoverLostForms_20241014.accdb"
The (VBA)project name is independent of the file name, which is a huge benefit when your file name is something like "Diabetes_Backup_20241010_RestoredToRecoverLostForms_20241014.accdb"
I noticed this when I was inspecting the source property of the ErrorObject. VBA sets it to the project name and not the file name. Of course you will never notice this unless you set the project name explicitly to something else than the default.