title: Need to Run VBA code in Command Prompt
body: <p>I have a Tiff file splitter DLL that has a VBA code:</p>
  
  <pre><code>Dim tsplit As New SCTiffPageSplitNetDLL.TiffPageSplitterDLL
  Dim rslt as Integer
  To call the function and split TIFF files, you could use the following:
  
  rslt = tsplit.Tiff_PageSplit("C:\test\test.tif", "C:\outputdir") 
  MsgBox rslt
  </code></pre>
  
  <p>How can I run this line of code in a <code>command prompt</code>? I need to make a batch file(.bat) out of this code.</p>