+ Reply to Thread
Results 1 to 4 of 4

Add Signature to email with VBA code

  1. #1
    Registered User
    Join Date
    09-13-2008
    Location
    Montreal
    MS-Off Ver
    Office XP
    Posts
    80

    Add Signature to email with VBA code

    Hope someone can help. I use the below code to email through outlook using VBA.

    Please Login or Register  to view this content.
    I want to add a signature with Ron de Bruins code below, but I cant seem to get it to work

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Can someone let me know where and how I need to place the above code in my code to get the signature to work?

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Add Signature to email with VBA code

    Hi slmi1313

    Please Login or Register  to view this content.
    If your using XP it can be found in C:\Documents and Settings\(your username)\Application Data\Microsoft\Signatures

    Click on My Computer
    Click on Local Disk C (or whatever your Local Drive Letter is)
    Click on Documents and Settings
    Click on your User Name (in my case, it's Administrator...your's is what it is)
    Click on Application Data
    Click on Microsoft
    Click on Signatures
    Find your signature name
    Replace Mysig.htm with your signature name.

    Should work...used this same code numerous times.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Registered User
    Join Date
    05-11-2012
    Location
    Pune
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Add Signature to email with VBA code

    I tried the above code, it does not throw any error but i dont see signature in the mail when i check the sent items.

  4. #4
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Add Signature to email with VBA code

    Hi yeshwant_sur

    Please start your own Thread.
    Last edited by jaslake; 05-19-2012 at 02:42 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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