Solved

Make VBA Script Distributable as COM

Posted on 2007-11-15
2
473 Views
Last Modified: 2008-02-01
Hi,

I've put together a VBA script inside Microsoft Outlook's Visual Basic Editor.
It has a single form with code behind the form.

How do I take this Outlook VBA project and create a distributable file, I've heard people call it a COM object?

Thanks.
0
Comment
Question by:gamm
2 Comments
 
LVL 8

Expert Comment

by:Wikkard
Comment Utility
Way to reuse your code to make a COM object would be to compile it with Visual Basic 6. You will need to make a few minor code changes probably.

This is the only way that I know of, AFAIK you can't compile a VBA project to an active x dll.
0
 
LVL 6

Accepted Solution

by:
Taconvino earned 200 total points
Comment Utility
Check this out:

"Managing and Distributing Outlook VBA Projects"
http://support.microsoft.com/kb/229911/en-us

"How to create a COM add-in for Outlook 2002"
http://support.microsoft.com/kb/291163/EN-US/

Hope this helps!
TCV
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

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

10 Experts available now in Live!

Get 1:1 Help Now