Although it is not recommended by Microsoft (see below), a procedure can be created in VBA (Visual Basic for Applications) and called using VBScript (Visual Basic Scripting Edition). By default, VBA is not initialised disabled when Outlook is started for performance reasons. If Outlook is started and an item opened (containing VBScript which calls a VBA procedure in the ThisOutlookSession Class Module), an error will occur as the required VBA procedure/function will not be available. For procedures to be called from the ThisOutlookSession module, security settings need to be adjusted to allow the macros to run.
Web Development & Programming in PHP, ASP.NET, XML, VB, .NET Framework, JavaScript and HTML/CSS for Web Applications, Internet Marketing and SEO
Tuesday, March 24, 2009
Microsoft Outlook: Calling VBA Class Module function using VBScript
Posted by
DanielS
at
8:00 PM
Labels:
Macro,
Microsoft Outlook,
Security,
VBA,
VBScript
1 comments
Saturday, March 21, 2009
Privacy Policy
Third-party advertising companies are used to serve ads when you visit this blog. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Posted by
DanielS
at
11:07 PM
Labels:
Privacy Policy
0
comments
New Web Development Blog
This is my new web development blog location. Posts will be related to web development, php application development, general html javascript and css. Please have a look at my SharePoint Administration and Development blog.
Posted by
DanielS
at
4:25 PM
Labels:
web development blog
0
comments