title: VB.Net: Call a module Method or Routine dynamically with parameters
body: <p>I want to run a Method using a <strong>variable name</strong> that is stored in a <strong>Module</strong> with a parameter: </p>
  
  <pre><code>Dim subName as String = "sub1"
  Dim param as Integer = 123
  sub1(param) &lt;- I want to run this using the **subName** string
  </code></pre>
  
  <p>I don't want to use <code>Select</code> <code>Case</code> because the Methods are in many different modules and I don't want to maintain a select-case function.</p>
  
  <p>I looked up <code>CallByName</code> but it seems this only works for Classes. I can't figure out how to set the object <code>ObjectRef</code> when it comes to <strong>Modules</strong> :</p>
  
  <pre><code>Public Function CallByName(ByVal ObjectRef As System.Object,ByVal ProcName As String,ByVal UseCallType As CallType, ByVal Args() As Object) As Object
  </code></pre>
  
  <p>Is there a way to do this in VB.Net?</p>
  
  <p>Edit: To make it really simple, I need the equivalent of VBA's:</p>
  
  <pre><code>Application.Run module_name.sub_name param
  </code></pre>