A family of Microsoft word processing software products for creating web, email, and print documents.
>> What I'm looking for is when the receiver of the e-mailopens the document and they click on File, Print or if they have a Print button in the Quick Action Tool bar to click, that the document will print without the command button. <<
You are asking for a lot here.
The first question is whether the user will (or even can) allow your code to run. That is a big if.
Much easier would be to add QAT buttons in your document/template for the email and print commands. Those require no code. If you send with instructions and maybe a screenshot of your QAT buttons that would work.
Modifying the QAT:
http://addbalance.com/word/QATmodification.htm
This link is to a page on my website. It is safe. I am providing it because I think it contains information that will help you. However, as an Independent Advisor I am required to add the following when posting here with a link to any non-Microsoft site:
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.