' For 64-bit Office (modified): Declare PtrSafe Function GetUserName Lib "advapi32.dll" Alias "GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
VBA is built into desktop versions of Office applications like Word and Excel. Launch Excel or Word. microsoft visual basic for applications 7.1 -x86- download
If you already have Office but VBA is missing or broken: ' For 64-bit Office (modified): Declare PtrSafe Function
: 4/5