title: C# filepath to Excel file in solution or bin/debug folder?
body: <p>I am trying to reach an Excel file withouth specifying the whole absolute path on my pc.</p>
  
  <p>In stead of this:</p>
  
  <pre><code>Excel.Application app = new Excel.Application();
  OpenFileDialog ofd = new OpenFileDialog();
          if (ofd.ShowDialog() == DialogResult.OK)
          {
              Excel.Workbook sheet = app.Workbooks.Open(ofd.FileName);
             //etc
          }
  SaveFileDialog sfd = new SaveFileDialog();
  sfd.ShowDialog();
  string name = sfd.FileName;
  sheet.SaveAs(name);
  </code></pre>
  
  <p>I would like to always use the template provided in the solution, dynamically.</p>
  
  <p>Any tips or ideas?</p>