读书人

VBA在64bit Excel中使用?该怎么解决

发布时间: 2013-10-31 12:03:52 作者: rapoo

VBA在64bit Excel中使用?
我有Excel目,是在32位Excel 2003中的,但是在64bit Excel2010,如下:
Compile error:
The code in this project must be updated for use on 64-bit systems.
Please review and update Declare statements and then mark them with the PtrSafe attribute.
知道怎解?
我在上找了料如下:
?Original Statement: Private Declare Function
?Amended Statement: Private Declare PtrSafe Function

?Long → to → LongPtr
?LongPtr → to → LongLong
?and some "Long" are supposed to remain the same, depending on what they do

[解决办法]
http://club.excelhome.net/thread-809769-1-1.html

看这个能不能帮到你。

读书人网 >VBA

热点推荐