Even though this works, consider this a . Autodesk officially ended support for VBA in AutoCAD 2013 a long time ago.
Here is the essential information:
: Experts at JTB World and on Autodesk Forums strongly recommend migrating to .NET (C# or VB.NET) or AutoLISP for long-term stability, as AutoCAD 2014 introduced the native 64-bit VBA 7.1 engine which resolved many of these issues . Installation Steps (If you have the installer) autocad 2013 vba module 64-bit
Declare PtrSafe Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPtr Even though this works, consider this a
He hit Enter .