thisoutlooksession to permanently remember settings

Posted on 2012-08-14
Last Modified: 2012-08-28
had a visual basic script that was put under 'thisoutlooksession' in Outlook 2007. but was not saved permanently upon closing Outlook or restarting the pc. how to make the script be permanent?
Question by:grnow
    LVL 5

    Accepted Solution

    This should be the correct location for VB code for Outlook.

    The code actually gets saved in a file called VbaProject.OTM (I'm testing under Outlook 2010, but believe it should be same under Outlook 2007).  I always make a point of explicitly hitting Save while in the VBA Editor window.

    If the VBA code is not saved, you will not get a prompt when VBA Editor gets closed.  Instead, Outlook should prompt you to save when you quit Outlook itself.  If for some reason Outlook crashes, you may loose the code, hence my practice of always saving in the VBA Editor.

    If this does not help, please let us know which version of Outlook you are using.
    LVL 5

    Expert Comment


    Please let us know if you need any further assistance.

    Assisted Solution

    Hi all, this seems to work after we select 'warning for all macros' instead of 'no security checks for macros'.. selecting 'no security checks for macros' seems to work intermittently.

    Author Closing Comment

    marcin comment reassures that there could be some settings probably that cause the issue

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
    Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
    This video walks the viewer through the process of creating envelopes and labels, with multiple names and addresses. Navigate to the “Start Mail Merge” button in the Mailings tab: Follow the step-by-step process until asked to find the address doc…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    23 Experts available now in Live!

    Get 1:1 Help Now