(1) I am creating a excel file and save it in a location.
(2) I am sending an email with a link that points to this location.
(3) While clicking the link - the file gets downloaded.
(4) While opening the file - the excel file opens up with the warning message as "we found a problem with some content in do you want to recover as much as we can. If you trust the source of this workbook then click yes"
(5) If we click "Yes" - the file is intact and the data is not lost at all.
Question: How to suppress this warning message. Every time it forces the user to choose this option. Alternatively if I attach the file directly to the email - this warning message does not appear. It appears only when it is downloaded through a link.
Are you posting in the right place? Check out Where do I post X? to know for sure.
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
Want more info? How to link or
or How to display code and escape characters
are good places to start.