title: excel vba: Special Types - Functions as Arguments of Functions
body: <p>There is no special type for functions in VBA. It is hard for me to see how to add functions as arguments to functions in Excel VBA.</p>
  
  <p>What I am trying to accomplish is something like this:</p>
  
  <pre><code>function f(g as function, x as string) as string
          f = g(x)
  end function
  </code></pre>
  
  <p>Currently, I have a group of little functions all repeating themselves but with one call to a specific function.</p>