Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Excel Worksheet using VBA

Status
Not open for further replies.

chrisaroundtown

Technical User
Joined
Jan 9, 2003
Messages
122
Location
AU
Hi,

I am after a line of code to do the same thing as going to File then Send To Mail Recipient.

Does anyone know how to do this?

Thanks
Chris
 
If your running in Outlook then I believe:

Outlook.Mailitem.Send

Otherwise you will need to set a reference in whatever application you are in.
 
Try using the macro recorder whilst performing the action

Rgds, Geoff

Never test the depth of water with both feet

Help us to help you by reading FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top