-
AddressOf in VBA
I'm using a DLL in order use some optimization software. The DLL has a Callback function which retrieves some information about the simulation. The problem is that it only works in Visual Basic, as it uses the AddressOf operator. How could I solve this, using VBA?
-
Re: AddressOf in VBA
Even in real Visual Basic, AddressOf only works if it is in a module.
I know that you can use Modules in VBA, so I would give that a shot.
-
Re: AddressOf in VBA
:lol: "Real Visual Basic?
VBA is still Visual Basic :p
Yes, simply place the code in a module, it will work.