title: Excel 2007 PageSetup.FitToPagesWide issue
body: <p>For while I have been trying to set the Page Scaling of Excel page in a Microsoft Visual Studio project for Excel 2007 using C#</p>
  
  <p>The code looks like this</p>
  
  <pre><code>private void Sheet1_Startup(object sender, System.EventArgs e)
  {
      PageSetup.FitToPagesWide = 1;  
      PageSetup.FitToPagesTall = 1;
      PageSetup.Orientation = Microsoft.Office.Interop.Excel.XlPageOrientation.xlLandscape;
      PageSetup.PaperSize = Microsoft.Office.Interop.Excel.XlPaperSize.xlPaperA4;
  }
  </code></pre>
  
  <p>The lines for PaperSise and Orientation are working well, however I can't make Excel fit data onto one page.</p>
  
  <p>Am I doing something wrong ?</p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/ms272408%28v=Office.11%29.aspx" rel="noreferrer">MSDN</a> did not help much because they do not yet have a code sample for this language.</p>