View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Is there "pointer to a function" in VBA

If xl2000 or later, look at Addressof in help and see if that is what you
want. Generally, VB does not do pointers.

--
Regards,
Tom Ogilvy

Jag Man wrote in message
...
In many languages you can work with pointers to functions, allowing you

to
"parameterize" your code with regard to the functions that get called.
Is there a facility to do this in VBA? For example, I'd like to do

something
like this:

Sub functionOne( ByRef theFunction())
...
theFunction()
...
End Sub


TIA

Ed