Question : Adding a Print button to a word document

Hi Experts,

       I would like to add a Print button to a word document (don't ask!) so that when the user opens the word file and and presses the button, it'll result in the same action as if he/she would have gone to File->Print.  I have already added the command button on there and I assigned it with the below code.  The problem is after I save the code and and cloes and reopen the Word file, when I click the Print button I get a run time error '438'  Please see atached screen shot for details!

Thanks,

axnst2
 
Screen Shot of error
331664
 

Answer : Adding a Print button to a word document

Or even:

ActiveDocument.PrintOut
Random Solutions  
 
programming4us programming4us