A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VBA to intercept creation of new messages?



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 12th 08, 11:09 AM posted to microsoft.public.outlook.program_vba
xtine
external usenet poster
 
Posts: 7
Default VBA to intercept creation of new messages?

Hi

In Word if I create a macro called FileNew which pops up a message box
then it will override the default file new code.

What is the equivalent of FileNew in Outlook 2007 so that I can
override the default functionality? and which template/where should I
store
it in so that it works every time.

I have tried making a normalemail.dot but although it keeps my styles
it loses any keystrokes I have assigned and the multilevel numbering.

I tried saving the styles as a styleset and that works, but I have to
switch to the styleset manually each time.

I then created an oft file which works, but I can't work out how to
get it to be the default - so I thought maybe I could 'catch' the
FileNew process and call it that way?

Any other ideas on how to set up a default message that has multi-
level numbered styles with keystrokes attached?

Christine
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
création outlook Roland[_2_] Outlook Express 1 November 8th 07 03:50 AM
Differentiate between drag & drop email task creation and normal task creation Mohit Add-ins for Outlook 1 April 18th 07 06:54 AM
Profile Creation AndyJ Outlook - General Queries 1 March 23rd 07 02:14 PM
Q: How to Intercept "Send" Button? Kyle Ferrio Outlook and VBA 2 July 1st 06 07:49 PM
Macro Creation Jim Patterson Outlook and VBA 1 February 1st 06 06:23 PM


All times are GMT +1. The time now is 08:56 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.