VB and Outlook Forms...(Big Money for this question!)

Posted on 2004-11-07
Last Modified: 2010-05-02
I've created a Outlook Form (.OFT file) in Outlook i.e. Tools>Forms>Design.  The form is done and is working great, however I'd like to add a few things to it.  One of the additions to this is a calendar dialog.  For example in one of my fields on the form there is a field reserved for typing notes in it.  I'd like to be able to Date Time Stamp this field or click on a drop-down arrow and a calendar appear, then you could scroll through the months and then click the day of the month and it would populate that in that field.  I'm not using Visual Basic, this is all being done through Outlook.  I'm not a guru in VB and if someone could walk me through setting this feature up, I'd gladly reward them with max points.  In your response if you could outline the steps in step-by-step format I would comprehend this much better.


Question by:itsmevic
    LVL 10

    Expert Comment

    LVL 32

    Accepted Solution


    In design mode go to Form->Control Toolbox

    Right Click on the controls area of the toolbox and select "Custom Controls..."

    Scroll down the list and find "Microsoft Date and Dime Picker"

    Check it and click "Ok"

    Place the Date/Time picker control of your form.

    Right Click the control on the form and select "Properties" (the one above Advanced Properties)

    In the 'Value" tab, click the "New" button to create a new field associated with the control.

    That's all there is to it!


    Author Comment

    Erick your a friggin whiz...this is exactly what I was looking for.  I've followed your instructions and now when i click on the date window arrow drop-down a calender appears and I'm able to pick and choose my date in that calendar...VERY COOL.  Thanks!

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
    You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

    728 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

    18 Experts available now in Live!

    Get 1:1 Help Now