title: Calling existing excel file using OLE - delphi
body: <p>I have an excel file which contains a format for the data that will be passed in it. Can Someone help me how to open an existing excel file?</p>
  
  <pre><code>var
    myExcel:variant;
  begin
    myExcel:=CreateOleObject('Excel.application');
    myExcel.caption:='Summary of Check Issued';
    myExcel.visible:=false;
    myexcel.workbooks.add(1);
  end
  </code></pre>
  
  <p>that statement will create a new excel file but what i want is a statement to just open my existing excel file.</p>