title: Warning message while replacing Excel cell values in C# windows application
body: <p>I am replacing excel cell values in C# with the following code, but in case if a particular field is not found then its showing following warning dialog box.</p>
  
  <p>Code is like this:</p>
  
  <pre><code>xlWorkSheet.Cells.Replace(
       "CustomerName", 
       "John", 
       missingValue, 
       missingValue, 
       missingValue, 
       missingValue, 
       missingValue, 
       missingValue);
  </code></pre>
  
  <p>So if "CustomerName" is not present in any of the excel cells it shows following message:</p>
  
  <blockquote>
    <p><strong>Microsoft Office Excel</strong></p>
    
    <p>Microsoft Office Excel cannot find any data to replace. Check if your
    search formatting and criteria are defined correctly. If you are sure
    that matching data exists in this workbook, it may be on a protected
    sheet. Excel cannot replace data on a protected worksheet.</p>
  </blockquote>
  
  <p>I need to stop this dialog box to popup, because I have many cells that can have fields or not.  </p>
  
  <p>Any answer?</p>