+ Reply to Thread
Results 1 to 10 of 10

Macro to send mail via outlook

Hybrid View

  1. #1
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Macro to send mail via outlook

    Hi, dhammdip17a,


    Quote Originally Posted by dhammdip17a
    but how can i add more rows?
    Quote Originally Posted by RDB
    The Macro will loop through each row on the Activesheet

    Quote Originally Posted by dhammdip17a
    and how can i edit a subject for each mail?
    Substitute
    .Subject = "Reminder"
    with
    .Subject = "Your order " & Cells(cell.Row, "C").Value

    Quote Originally Posted by dhammdip17a
    is it possible that i also mention subject in excel file and macro will send that?
    Add another column to your data if you feel like the necessity and rely on it. Say the Subject is in Column E
    .Subject = Cells(cell.Row, "E").Value
    You should check that there is a value in that cell otherwise give some standard subject in an If-Else-Statement.

    My name is definitely not Ciao.

    HTH,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  2. #2
    Registered User
    Join Date
    06-11-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Macro to send mail via outlook

    Hi "Holger"

    I am sorry for your Name

    But thank you so much for your help.

    Regards,
    Dhammdip

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: Macro to send mail via outlook

    Hi, Dhammdip,

    donīt worry about my name - I hope you can get along with the information supplied.

    Ciao,
    Holger

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1