I have a database that was created in Access 2007. I have moved it to Access 2019 with the Windows 10 update.
The issue I'm having is when I try to run the macro it should open a form to look for a file. It does nothing. I must admit VBA code is by far not my strong suit but here is what I have:
Declare PtrSafe Function GetOpenFileName Lib "comdlg32.dll" Alias _ "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Boolean Declare PtrSafe Function GetSaveFileName Lib "comdlg32.dll" Alias _ "GetSaveFileNameA" (pOpenfilename As OPENFILENAME) As Boolean
The issue I'm having is when I try to run the macro it should open a form to look for a file. It does nothing. I must admit VBA code is by far not my strong suit but here is what I have:
Declare PtrSafe Function GetOpenFileName Lib "comdlg32.dll" Alias _ "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Boolean Declare PtrSafe Function GetSaveFileName Lib "comdlg32.dll" Alias _ "GetSaveFileNameA" (pOpenfilename As OPENFILENAME) As Boolean