title: How to hide an ActiveX Command Button when printing a word document?
body: <p>I have an ActiveX Command Button that when pressed opens a userform to allow data entry into the word document. This button needs to remain visible when working on the document but not visible when printing. </p>
  
  <p>How can I hide/make invisible only when printing?</p>
  
  <p>Unlike in Excel VBA where the properties include an option to 'PrintObject', word VBA does not have this functionality. The best I have been able to do is delete the button after being clicked but this is not really what I want.  </p>
  
  <pre><code>'Needs to hide button only on printing, not delete it
  
  UserForm2.Show
  CommandButton1.Select
  Selection.Delete
  </code></pre>