Solved

vb coding for for excel sheet

Posted on 2003-11-02
3
185 Views
Last Modified: 2010-05-03
i want to send one worksheet out of several worksheets in excel.  I want it to auto pickup the email address on the page and pPIut an auto subject in the subject line.  Right now I am going to the worksheet I want to send and choosing FILE-SENDTO-MAIL RECIPENT-ENTER EMAIL ADDRESS ALREADY ON THE PAGE AND TYPE IN THE SAME SUBJECT-SEND
WOW so many steps   You anyone help???
0
Comment
Question by:groupsource
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
YeaYuh earned 125 total points
ID: 9671149
Hey,

Sub SendEmail()
' Change the A1 to the cell of the email address on your worksheet
' "test" is the subject line

    Application.Dialogs(xlDialogSendMail).Show ActiveSheet.Range("A1").Value, "test"
   
End Sub

Otherwise try looking at this website to see if any of the code meets your requirements.
http://www.rondebruin.nl/sendmail.htm


0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question