title: "This command is not available." error occurs when trying to execute PasteAndFormat function
body: <p>I published the VSTO app, where I copy a Range with a formatted text.</p>
  
  <p>On most users machines the application works properly while some users have the error "This command is not available." thrown whenever the following piece of code is being excetuded.</p>
  
  <pre class="lang-c# prettyprint-override"><code>  var sourceDocument = Globals.ThisAddIn.Application.ActiveDocument;
    sourceDocument.Range().Copy();
    Document documentOld = new Document();
    documentOld.Range().PasteAndFormat(WdRecoveryType.wdFormatOriginalFormatting); //here the error occurs
    Document documentNew = new Document();
    documentNew.Range().PasteAndFormat(WdRecoveryType.wdFormatOriginalFormatting);
  </code></pre>
  
  <p>Could you recommend me something? Should I check any settings of the Word App on the User's machine?</p>
  
  <p>Your help would be highly appreciated!</p>
  
  <p>Thank you in advance!</p>