troubleshooting Question

VBA method for sending a copy of Word doc

Avatar of Helen Feddema
Helen FeddemaFlag for United States of America asked on
Microsoft Word
3 Comments1 Solution559 ViewsLast Modified:
I have written code to create a Word doc and open the envelope pane, and fill in text to various fields.  But I have not been able to determine the VBA code equivalent of clicking the Send a Copy button in the interface.  Does anyone know what that is?
'Set envelope properties of open Word doc
pappWord.ActiveWindow.EnvelopeVisible = True
With doc.MailEnvelope
   .Introduction = "Here is the document you requested"
   With .Item
      .To = strEMail
      .Subject = "Document for " & strName
   End With
      'Here I need the equivalent of clicking the Send a Copy button
End With
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros