从Excel 2010 32位到64位,我在新版本中创建的所有对象不能被其他计算机枝条认识Excel 2010中的32位,我alrady试图插入这个:不能识别Excel的VBA对象升级后,升级后的Excel版本
If VBA7 = True Then
' 32 Bit API
Private Declare PtrSafe Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As LongPtr
Private Declare PtrSafe Function GetExitCodeProcess Lib "kernel32" (ByVal hProcess As LongPtr, lpExitCode As Long) As Long
Else ' 64 bit API
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
Private Declare Function GetExitCodeProcess Lib "kernel32" (ByVal hProcess As Long, lpExitCode As Long) As Long
End If
它不工作。
PLZ帮助:)
您期望什么样的帮助? –
我想能够使用32位和64位excel文件 – Tzahi