I recently updated my Office applications to 365. I am getting an error in VBA. "Compile Error: The code in this project must be updated for use on 64-bit bit systems." How do I change the code to a 64 bit from a 32 bit?
Private Declare Function apiGetUserName Lib "advapi32.dll" Alias _
"GetUserNameA" (ByVal lpBuffer As String, nSize As Long) As Long
Private Declare Function apiGetComputerName Lib "kernel32" Alias _
"GetComputerNameA" (ByVal lpBuffer As String, nSize As Long) As Long