阅读背景:

避免在Excel中使用VBA中的常量重复函数原型

来源:互联网 

I am trying to eliminate code duplication in defining function prototypes in VBA, and this method doesn't quite seem to work. Basically for most platforms except for 32-bit windows, we have the same exact prototypes, but only the DLL/dylib name changes. So I am trying to find a way to get VBA to do what I want, but it keeps complaining about the library name not being a string constant (unless I hard code it). Is there any way to get VBA to understand what I am trying to do?I am trying to eliminate code duplication in de




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: