Getting error as ThisApplicatio.workbook does not exists
<p>I have written the  following code to refer to a work book but i am getting the error as i specified</p>

<pre><code> Microsoft.Office.Interop.Excel.Workbook wb = ThisApplication.Workbooks[1];
</code></pre>

<p>I have gone through this page here <a href="http://msdn.microsoft.com/en-us/library/aa168292%28v=office.11%29.aspx" rel="nofollow">MSDN</a></p>

<p>Can any one tell what to do</p>
