E.g. in PHP there is a function called method_exists, for which the prototype re-written in vba syntax might look something like this:
Is it possible to perform a check such as this in Excel VBA?Please Login or Register to view this content.
E.g. in PHP there is a function called method_exists, for which the prototype re-written in vba syntax might look something like this:
Is it possible to perform a check such as this in Excel VBA?Please Login or Register to view this content.
I think you must use CallByName for this:
for example. This will be for Method specifically - it will return false for any Property.Please Login or Register to view this content.
- Please remember to mark threads Solved with Thread Tools link at top of page.
- Please use code tags when posting code: [code]Place your code here[/code]
- Please read Forum Rules
You are welcome.
Please remember to select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks