title: Run a Macro from C#
body: <p>I am aware you can use  <code>Microsoft.Office.Interop.Excel;</code> to use VBA commands inside of a C# program.</p>
  
  <p>I have VBA that is close to 10,000 lines of code and translating that into C# compatible commands is just unrealistic. It creates a workbook and performs data manipulation and formatting to be printed as the user requests.</p>
  
  <p>Is there a way of storing the macro in C# and creating a workbook that I can then run the macro on as is?</p>