We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Change default value in the Options window

ndidomenico
ndidomenico asked
on
Medium Priority
237 Views
Last Modified: 2010-04-08
Here's a quick and easy (???) one for 500 points !!!

Each day, I write up an email to be sent to all my users and that I select to send only at 01:00am the next day using the Message Options window and selectiong "Do not deliver before -(date)- -01:00-".
Is it possible to configure somewhere in Outlook that the default time displayed in this window would be 01:00 instead of 17:00 so that I don't have to change it each time ? Being able to display also the next day in the "date" field would also be nice.
I looked everywhere in the Options but could not find anything. Maybe a registry entry ?
p.s. I'm using Outlook 2000 or 2003 depending where I am working.

Thanks.

Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2010
Commented:
Greetings, ndidomenico.

I don't believe there's a way to set a default value for this.  Fortunately, a little scripting will set the time for us, saving you the trouble of having to click through those steps.  Here's that script.  Running this script, which we can do with a single mouse click, will create a message with a default subject and set the delivery time for us without you having to do it each time.  The delivery time will always be the following day at 1:00 am.

Sub DeferredDeliveryMessage()
    Dim olkMessage As Outlook.MailItem
    Set olkMessage = Application.CreateItem(olMailItem)
    With olkMessage
        .DeferredDeliveryTime = CDate(Date + 1 & " 1:00:00 AM")
        .Subject = "My Subject"
        .Display
    End With
    Set olkMessage = Nothing
End Sub

Cheers!

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
This is just perfect !!! Works great !

Thanks a lot.

It is amazing how one can customize applications such as Outlook by using scripting. I'd be interested in trying to learn how to do some basic scripting to create little utilities like this one, in Outlook, Word, etc. Would you have any suggestions, references. Nothing complicated. I don't want to start writing complete applications. Just usefull tools to get around limitations or to personnalize my work environment.
CERTIFIED EXPERT
Top Expert 2010

Commented:
You're welcome.  OutlookCode.com (http://outlookcode.com) is a great place to pick up code samples and hints for Outlook.  I don't know of a similar resource for Word scripts.  
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.