What is the difference between VBScript and Visual Basic for Applications, and which one should I use?
Outlook custom forms use Visual Basic Scripting Edition (VBScript) as they did in previous versions of Outlook. However, Outlook now provides support for Visual Basic for Applications at the application level, meaning that you can run macros from the main Outlook toolbars or menus and that code can function outside of the scope of an item. Most of the additions to the Outlook object model were added to support this new application-level programming model. For example, there are many new events that enables custom code to run when certain things happen in Outlook, such as when you receive new mail, or if the user clicks a different item in a folder. Your code can also run much like a batch process, where you click a toolbar button and a macro retrieves data from a folder and then updates information in a public folder.