Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Check out CallByName. I think it does what you're talking about.
scotty wrote: 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
calling a method on an object created in a different addin | Excel Programming | |||
Calling a sub method | Excel Programming | |||
Calling Excel/Opentext method via ActiveX in a service application | Excel Programming | |||
Calling a C++ DLL which returns a String | Excel Programming | |||
Calling a module function from a class method | Excel Programming |