title: Reopen DOC file in write mode, with macro inside it
body: <p>I am using a macro template for particular <em>DOC</em> files only. It runs only for these files and, as I assume, it is treated as the <em>DOC</em> file itself.</p>
  
  <p>All I want is to remove the file <em>OR</em> clear the contents of it, after the macro finishes. The initial file is <strong>read-only</strong>.</p>
  
  <p>I have tried:</p>
  
  <ol>
  <li><em>SavingAs</em> in <em>TEMP</em> folder, change file attribute of initial file and then try to <em>Kill</em> it - no luck, it seems that initial file is still preloaded(?) and does not know that the read-only flag was removed. Error: Permision denied. </li>
  <li>When I try to <em>Close</em> the initial document, I am closing also the macro itself...</li>
  </ol>
  
  <p>So:</p>
  
  <p>Is there any way to (from the macro inside the DOC file) :</p>
  
  <ol>
  <li>Reopen the file in <strong>write-mode</strong>? (so I could clear the contents afterwards)</li>
  <li>Remove the initial file? (after <strong>SaveAs</strong> so I actually will have a new file in <strong>write-mode</strong> and will be able to remove initial file)</li>
  </ol>