+ Reply to Thread
Results 1 to 3 of 3

Macro to open new mail from template and from different than default account

  1. #1
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Macro to open new mail from template and from different than default account

    I have this for the template. works fine. I kind find online how to open an email from another account, but my main issue is how do I save this macro. I already have one macro in ThisOutLookSession and I cannot figure out how to save more than one in there. I've tried running this macro in a class module and module with no success. If I paste this macro below the other I get, "temp" variable not defined error.

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Macro to open new mail from template and from different than default account

    So this is what I patched together.

    Please Login or Register  to view this content.
    Last edited by taylorsm; 05-11-2017 at 12:11 PM.

  3. #3
    Forum Contributor
    Join Date
    01-09-2016
    Location
    USA,USA
    MS-Off Ver
    2016
    Posts
    1,192

    Re: Macro to open new mail from template and from different than default account

    FYI in case anyone ever comes across this in their searches.

    Please Login or Register  to view this content.
    Then I adjusted the registry to stop the signature from appearing.

    Key: HK EY_CURRENT_USER\Soft ware\Microsoft\Office\<ver sion>\Outloo k\Options
    Value name: NoAutosigOnCustomForms
    Value type: REG_DWORD
    Value: 1

+ 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. My default mail program must open with [email protected] when I click A1 cell...
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-28-2015, 10:05 AM
  2. VBA to open a word template, Insert values and mail as an attachement
    By JamesGoulding85 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-21-2014, 12:20 PM
  3. Excel Macro Enabled Template - Saves as .XLSX by default
    By ddarko77 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2013, 04:16 PM
  4. Replies: 0
    Last Post: 01-31-2013, 06:15 AM
  5. how do you make a macro inside the default template
    By crash893 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2008, 06:42 PM
  6. Replies: 0
    Last Post: 07-20-2006, 12:20 PM
  7. Replies: 2
    Last Post: 11-25-2005, 06:50 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