title: Opening an Excel file in C# using Process.Start
body: <p>I'm trying to open an excel file using a button click. And for some reason it's not working. I've tried several things. Any ideas why they are not working?</p>
  
  <p>Method 1 I have tried. This opens the file manager but does not open the proper file. It is definitely using the proper path to the file and the file does exist</p>
  
  <pre><code>private string fileCopy;
  
  public RepairResultsControl()
  {
      InitializeComponent();
  }
  
  public void Show(PSRepair.AnalysisResults analysis, string pathNameCopy)
  {
      fileCopy = pathNameCopy;
      Show();
  }
  
  private void btnGoToFile_Click(object sender, EventArgs e)
  {
      Process.Start("explorer.exe", "/select,"+ fileCopy);
  }
  </code></pre>
  
  <p>Method 2. This just didn't open anything not sure why</p>
  
  <pre><code>System.Diagnostics.Process.Start(@"C:\Users\username\Documents\newTest.xlsx");
  </code></pre>