The expression On Load you entered as the event property setting produced the following error: the code in this project must be updated for use on 64-bit systems https://access-programmers.co.uk/forums/showthread.php?t=273820 #If Win64 Then Private Declare PtrSafe Function aht_apiGetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (OFN As tagOPENFILENAME) As Boolean #Else Declare Function aht_apiGetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (OFN As tagOPENFILENAME) As Boolean #End If #If Win64 Then Private Declare PtrSafe Function aht_apiGetSaveFileName Lib "comdlg32.dll" Alias "GetSaveFileNameA" (OFN As tagOPENFILENAME) As Boolean #Else Declare Function aht_apiGetSaveFileName Lib "comdlg32.dll" Alias "GetSaveFileNameA" (OFN As tagOPENFILENAME) As Boolean #End If #If Win64 Then Private Declare PtrSafe Function CommDlgExtendedError Lib "comdlg32.dll" () As LongLong #Else Declare Function CommDlgExtendedError Lib "comdlg32.dll" () As Long #End If