• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 363
  • Last Modified:

Java version of vba's - Run('Function', startParams)

Hi all

In vba it is possible to call a function via the Run('Function', startParams) command where 'Function' is a string variable containing the name of a function to be run.

Is it possible to do this in java? I.E. i want to be able to create a method that takes in a string of the name of the method to call and calls this one!

Thanks in advance
0
billyleo
Asked:
billyleo
  • 3
1 Solution
 
sciuriwareCommented:
Yes by "reflection".

;JOOP!
0
 
sciuriwareCommented:
0
 
billyleoAuthor Commented:
Thanks - had come to that solution myself, not looking forward to it though!
0
 
sciuriwareCommented:
:))
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now