Your macro is calling a Windows API using old 32-bit syntax.
If a specific engineering or design program (like AutoCAD) throws a "VBA 7.1 missing" error, the required installer is almost always hidden inside that software’s original installation package or on the vendor's official support page. Look for a subfolder named 3rdParty , VBA , or Prerequisites inside the software's installation directory to find the official Vba71.msi or Vba71_x64.msi file. Technical Differences: VBA 6.0 vs. VBA 7.1 (x64) microsoft visual basic for applications 71 x64 top download
: Addresses large memory spaces beyond the 2GB limit of 32-bit systems. Your macro is calling a Windows API using old 32-bit syntax