View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
scotty[_2_] scotty[_2_] is offline
external usenet poster
 
Posts: 9
Default calling a method on a object that you know the string name for.


say you have an object, and you want to call a method, but that method
name is a string.

is there a way to execute this method?

obviously, you can't do

obj.methodname

need something like

Invoke(obj, "methodname")... to execute that method on the object.