vba - Is it possible to have a function in another function -


Is it possible to have such a function:

  function first (test1 as string) Second, 'hello' .... function second (test 2 as string) .... and function ... and function  

I try to do this, but the second I am getting this error for the end of the function: Expected Termination Function

  function second (as test2 string) .... and function function first (test 1 as string) second 'hello' .... last function  < / Pre> 

The function needs to be announced before it is called, which is why you have a second before the first.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -