Results 1 to 3 of 3

Thread: [RESOLVED] Is it possible for an e-mail’s 'Subject' field to auto-fill from a cell value

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2003
    Posts
    8

    Resolved [RESOLVED] Is it possible for an e-mail’s 'Subject' field to auto-fill from a cell value

    I have an Excel Command button used for opening Outlook/Outlook Express and sending the open file by e-mail.
    Is it possible to get the ‘Subject’ field auto-populated by a specific cell value?
    Then if possible, I want to follow the cell value with a simple text statement such as ‘Report Return’.

    I want the subject line to look something like: 12/05 Report Return

    (Where 12/05 is the cell value of R28)


    I can already populate the field with just the text, as below:

    Private Sub CommandButton8_Click()
    Application.Dialogs(xlDialogSendMail).Show "", "Report Return"
    End Sub


    But is there a simple code to combine the two?

    Any assistance to a Newbie would be appreciated.

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: Is it possible for an e-mail’s 'Subject' field to auto-fill from a cell value

    Application.Dialogs(xlDialogSendMail).Show "", Range("R28") & " Report Return"
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2003
    Posts
    8

    Re: Is it possible for an e-mail’s 'Subject' field to auto-fill from a cell value

    Brilliant Static

    Just what I needed
    Thanks for your help

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width