a great reference to make APIs run in either 32 or 64 using VBA7 (Access 2010+) is by Peter Cole
@petertheme . He's given a couple presentations and kindly shares information.
AL: Updating API calls in VBA to work with 64 Bit, How To + API Viewer using Access - Peter Cole (45:41), Jan 2022
AEU: 32 to 64-bit Conversion by Peter Cole (1:11:25), Aug 2022
If you have a database with LOTS of APIs (such as one I currently have with 64 of them!), it's good to get his commercial tool to make changes automatically and save lots of time, although some manual changes may still be required. His API Scanner is free and if you don't have many APIs to change, this is a good way to go
https://thememydatabase.co.uk/