title: Call Excel Add-In function in macro
body: <p>I am developing Add-in for Excel 2013 and I have created a function in Excel Add-In as below</p>
  
  <pre><code>  public string ExcelReturnString()
      {
          return "This is the string: hi";
      }
  </code></pre>
  
  <p>I have used below code to call the function, but it throws an error.</p>
  
  <pre><code>Application.Run(ExcelReturnString)
  </code></pre>
  
  <p>How can I call the Add-in function in macro?</p>