¡¡

Ä«Å×°í¸®    ±âŸ ÇÔ¼ö ÀÌ¿ëÇϱâ Á¶È¸:2518
 Á¦¸ñ   °æ¿ì¿¡ µû¶ó ÇÔ¼ö¸¦ ´Ù¸£°Ô È£ÃâÇÒ °æ¿ì ÀÌ ÇÔ¼öÀÇ À̸§À» º¯¼ö¿¡ ³Ö°í È£ÃâÇÏ´Â ¹æ¹ý

Function fEval(status As String)
Dim strFunctionName As String
Dim x
     If status = "A" Then
         strFunctionName = "TestThat()"
     Else
         strFunctionName = "TestThis()"
     End If

     fEval = Eval(strFunctionName)
End Function

Function TestThis()
     Debug.Print "Test This"
End Function

Function testThat()
     Debug.Print "Test That"
End Function

Copyright By AccessVision