+ Reply to Thread
Results 1 to 9 of 9

Outlook bcc macro

  1. #1
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Outlook bcc macro

    Dear all,
    i am using below auto-bcc macro. but then i started to need to send to 2 different mails in bcc, not only one. how can i add the second one? thank you.

    Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
    Dim R As Outlook.Recipient
    Dim Address$
    Address = "[email protected]"
    Set R = Item.Recipients.Add(Address)
    R.Type = olBCC
    R.Resolve
    End Sub

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Outlook bcc macro

    Hi turkanet,

    Try separating the addresses with a semi colon:
    Please Login or Register  to view this content.
    Lewis

  3. #3
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Re: Outlook bcc macro

    No it didnt work Lewis. i tried also Address = "[email protected]" & "[email protected]",
    also tried Address = "[email protected]" & ";" & "[email protected]"
    can you help to find me a way?

  4. #4
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: Outlook bcc macro

    Hi,

    The following code may work. I tested it in Outlook 2016, but Outlook is not my eMail of choice, so I have no address book.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Re: Outlook bcc macro

    Unfo received attached msg
    Attached Images Attached Images

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Outlook bcc macro

    Try this.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  7. #7
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Re: Outlook bcc macro

    Thank you, works fine

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,418

    Re: Outlook bcc macro

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    Registered User
    Join Date
    08-20-2017
    Location
    Istanbul, Turkiye
    MS-Off Ver
    2016
    Posts
    97

    Re: Outlook bcc macro

    Thank you for advices. I was already clicked that star.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Outlook New_Mail Event Macro to Call Excel Macro
    By christopheralan88 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-29-2015, 06:28 PM
  2. Outlook Macro Fails to run Excel macro with Visibility = False
    By rvdurham in forum Outlook Programming / VBA / Macros
    Replies: 3
    Last Post: 01-13-2014, 12:51 AM
  3. Create Outlook Reminder on Excel and transfered to outlook by macro
    By Benjamin2008 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-21-2013, 03:23 PM
  4. [SOLVED] VBA Macro to print to Pdf format and place as attachment in Outlook (Excel & Outlook 2007)
    By Webman1012 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-29-2013, 01:25 PM
  5. outlook redemtion macro cant send mail if outlook is not open ?
    By okl in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-03-2010, 07:35 AM
  6. outlook macro
    By lukeois in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2009, 11:21 AM
  7. Macro in Outlook
    By danison in forum Excel General
    Replies: 0
    Last Post: 05-31-2005, 06:59 PM

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