+ Reply to Thread
Results 1 to 2 of 2

Can't add signature to email in VBA since upgrading to Outlook 2016

  1. #1
    Registered User
    Join Date
    06-09-2016
    Location
    UK
    MS-Off Ver
    7
    Posts
    4

    Can't add signature to email in VBA since upgrading to Outlook 2016

    Hi all,

    I would be eternally grateful if anyone can help me out!!

    I made a macro (using a lot of Googling) to use Excel's VBA to open a new email in Outlook, add the contacts, attachments etc, fill in some text and add the user's default signature. This was made a few weeks ago when we were using Outlook 2013 and it worked beautifully!

    This week we have just all been upgraded to Outlook 2016 and suddenly it stopped working! I have managed to get it functional now but the only thing that is still completely stumping me is attaching the signature! According to a million internet searches, this should work, but for some reason it doesn't like the line where I define the signature.

    It was a lot more complicated before and used early binding instead of late binding but I have managed to get it down to the bare bones below. Commenting out the signature line makes it run fine, but with it keeps on throwing back that pesky error!! (Just a side note, I need to use .HTMLBody instead of .body because I have a table to insert but have tried both with the same effect.)

    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Can't add signature to email in VBA since upgrading to Outlook 2016

    Your code works perfectly for me. I am guessing there is an issue with the signature in the test case you are using. What does the displayed email look like just before the line that causes the error?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. [SOLVED] outlook VBA: how to add alternative signature to email instead of the default
    By Marijke in forum Outlook Formatting & Functions
    Replies: 13
    Last Post: 11-03-2017, 08:36 AM
  2. [SOLVED] Issue send email with excel 2016 true outlook 2016
    By kirana2014 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2017, 11:34 AM
  3. Help! Automated Email coding for Excel 2016 and Outlook 2016 problems
    By lisa6421 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-01-2017, 08:07 AM
  4. [SOLVED] Inserting Signature line into outlook email
    By clabhart in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-15-2014, 02:58 PM
  5. send selected range in email with default outlook email signature included
    By mdsickler in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-04-2013, 10:50 PM
  6. Email using Excel VBA and Keeping Outlook Signature on the Email
    By Shama in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2009, 07:39 PM
  7. Sending email with outlook signature
    By sexcel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-04-2008, 10:12 PM

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