Outlook/VBA/Forms

Hello - I am writing a VBA application that once an email is received, it will sort it into a specific folder based on the sender's email address.  At this moment, it works great, however each time I get a new person emailing me, I have to manually enter the email address into the database which takes to long.  I am looking for a way to create a simple popup window/form that I can design that can capture a users' selection and enter it into the database.  The problem I'm having that I can't seam to find a way to design a form in VBA for outlook 2003.  

I'm sure this is a very easy question to answer but at this point, i don't see a solution.

Help is greatly appreciated.
DeYoungJDAsked:
Who is Participating?
 
scottman29Commented:
Why couldn't you go into outlook, goto tools-->macro-->visual basic editor, then from there insert a user form, and add your input boxes to it.  You would then set the critera to open the form.

this is a very simple answer, but it sounds like you know how to program it, you just needed where to go.

HTH,
Scott
0
 
DeYoungJDAuthor Commented:
Just to make it a little more clear...I want to create a custom form that has three fields...the users' email address, a box for the users name and the third field is a list of folders in a drop down format most likely.  So, two text boxes and one drop with a submit button that is linked to a capture action function.

Thanks - JD
0
 
will_scarlet7Commented:
What sort of database are you using to store the email addresses in?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
DeYoungJDAuthor Commented:
Microsoft SQL Server.  I'm using a ADODB connection and querying based on SenderEmail.
0
 
will_scarlet7Commented:
You might be able to create a Custom outlook form and your code opens it and then reads the value back out.. The only other way I can think of for doing what you want would be to use 2 Input boxes and a FolderPicker.
0
 
DeYoungJDAuthor Commented:
Truly!  Rock on.  For some reason, i didn't even bother to check there.  Thanks - JD
0
 
scottman29Commented:
Go me!!! :) good luck!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.