+ Reply to Thread
Results 1 to 8 of 8

Outlook VBA macro only for specific account

  1. #1
    Registered User
    Join Date
    11-05-2020
    Location
    italy
    MS-Off Ver
    Outlook for Office 365 MSO 32bit
    Posts
    4

    Outlook VBA macro only for specific account

    Good day,
    hope some of you experts can assist me.
    I have 3 accounts in my Outlook profile: acc1; acc2; acc3
    In Outlook i have a VBA macro that, when I send messages from any of my 3 accounts, a blind copy (BCC) will be forwarded to a 4th account (also adding some info in the mail body).
    I need to change the VBA code so that it will apply only for those messages being sent by the first account 'acc1'

    Thanks in advance
    Enriko
    Attached Files Attached Files
    Last edited by enriko; 11-06-2020 at 10:21 AM.

  2. #2
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,102

    Re: Outlook VBA macro only for specific account

    To assist you further please share your file as per the yellow banner above

  3. #3
    Registered User
    Join Date
    11-05-2020
    Location
    italy
    MS-Off Ver
    Outlook for Office 365 MSO 32bit
    Posts
    4

    Re: Outlook VBA macro only for specific account

    thanks maniacb! have done it

  4. #4
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,102

    Re: Outlook VBA macro only for specific account

    I was looking for a working file from which I could run the code, not just the code again. I would like to see the interaction of the code with the working spreadsheet, as per the instructions in the yellow banner above.

  5. #5
    Registered User
    Join Date
    11-05-2020
    Location
    italy
    MS-Off Ver
    Outlook for Office 365 MSO 32bit
    Posts
    4

    Re: Outlook VBA macro only for specific account

    sorry i dont really know how to do that because i have no knolwedge at all about VBA etc..(i am just an end user)
    pls explain me how to get the working file for you and i will do it

  6. #6
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,102

    Re: Outlook VBA macro only for specific account

    I am asking that you share your working Workbook Where the code is being applied.

  7. #7
    Registered User
    Join Date
    11-05-2020
    Location
    italy
    MS-Off Ver
    Outlook for Office 365 MSO 32bit
    Posts
    4

    Re: Outlook VBA macro only for specific account

    but i have no ideas where to get the workbook! pls explain to me

  8. #8
    Forum Expert
    Join Date
    05-29-2020
    Location
    NH USA
    MS-Off Ver
    365
    Posts
    2,102

    Re: Outlook VBA macro only for specific account

    enriko, my apologies. I missed your note that this code is in Outlook. Disregard my previous request for more information. That said, Outlook VBA is not an area I know to code in. Hopefully an Outlook guru can jump in here and respond.

+ 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. VBA to pull emails from 2nd account in Outlook
    By Jamesraywebber85 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-02-2019, 12:10 PM
  2. Send email from specific account - Outlook 365 2013 version
    By naseerrahaman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-13-2018, 03:05 AM
  3. [SOLVED] Outlook Macro applies a specific rule to specific folder(s) automatically
    By mkn95u0 in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2015, 03:41 PM
  4. Send email from non-default outlook account via VBA
    By moonmanhk in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2014, 10:44 AM
  5. Send mail from outlook by selecting particular account
    By mukeshbaviskar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-16-2013, 11:36 AM
  6. Specifying which account on outlook to interrogate
    By Zhorian in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-18-2011, 07:19 AM
  7. Setting up a new outlook account programmatically
    By Reema in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2009, 06:53 AM

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