Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Northampton, Northamptonshire, England
    Posts
    1,951
    Thanks
    2
    Thanked 1 Time in 1 Post

    Mailto: Subject (Excel 2000/2003)

    Hi

    I have this code kindly supplied by hans.

    Private Sub Mailto_Click()
    Application.Dialogs(xlDialogSendMail).Show arg1:="Blogs,Joe"
    End Sub

    However it uses the filename as the subject, can this code be ammended to enter ones own subject?

    Thanks in anticipation

    Braddy
    If you are a fool at forty, you will always be a fool

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Mailto: Subject (Excel 2000/2003)

    Surprise, surprise:

    Application.Dialogs(xlDialogSendMail).Show arg1:="Blogs,Joe", arg2:="Please ignore this e-mail"

    or if you want a blank subject:

    Application.Dialogs(xlDialogSendMail).Show arg1:="Blogs,Joe", arg2:=""

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    Northampton, Northamptonshire, England
    Posts
    1,951
    Thanks
    2
    Thanked 1 Time in 1 Post

    Re: Mailto: Subject (Excel 2000/2003)

    Hi Hans

    Sorry about that, it is a bit obvious when you see the answer. <img src=/S/blush.gif border=0 alt=blush width=15 height=15>

    But thank you for your prompt reply.

    Braddy
    If you are a fool at forty, you will always be a fool

Posting Permissions

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